'search' Syntax and Note : search « Javascript Properties « JavaScript Reference

'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

1.'search' Example
2.'search' is applied to