Location JavaScript Tutorial

The search property represents the query portion of the URL, including the preceding question mark.
For example, the search for http://www.rntsoft.com/search.htm?term=javascript is ?term=javascript.


    
     Using the search property of the Location object
    
    
    
    
    
    
    Click the button to get the current location.search
    value of the following address:
    

    http://www.rntsoft.com