search property (location, a, area)
Sets or returns the subsection (begins with a '?' sign) of the URL assigned to the object.
The data after the question mark is commonly used for parameter passing.
You can find the related objects in the Supported by objects section below.
This property is read/write.
String that specifies or retrieves the search subsection of the URL.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the search property for an anchor:
Did you find this example helpful?
User Contributed Comments