Area search Property
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





All major browsers support the search property.
Example
Example
The following example returns the query string part of the link-URL in "Venus": /p>
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