YouTip LogoYouTip

Prop Area Search

# Area search Property [![Image 8: 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 ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The search property is supported by all major browsers. * * * ## Example ## Example The following example returns the query string part of the link-URL in "Venus":/p> Venus

The query string part of the Venus area: document.write(document.getElementById('venus').search);

The output of the above example: The query string part of the Venus area: ?id=venus [Try it yourself Β»](#) * * Area Object](#)
← Prop Body AlinkProp Area Protocol β†’