'search' Syntax and Note : search « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- search
'search' Syntax and Note
Note:
Read and write property.
When a question mark (?) exists in a URL, this property
specifies the string that follows the question mark.
Syntax:
document.getElementById("elementID").search = value
document.all.elementID.search = value // IE only
document.location.search = value
Related examples in the same category