Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Area search Property

Area search Property

Area Object Reference Area Object


Definition and Usage

The search property sets or returns the query string part of the href attribute value.

Syntax

areaObject.search=

querystring


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the search property.


Example

Example

The following example returns the query string part of the link-URL in "Venus": /p>

Runoob Tutorial(runoob.com) Venus

Query string part of the Venus region:

The example above produces the following output:

Query string part of the Venus region: ?id=venus

Try it »


Area Object Reference Area Object