Location JavaScript Tutorial

The pathname property represents the pathname portion of the URL.
For example, the pathname for http://www.rntsoft.com/pictures/index.htm is "/pictures/index.htm".


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

    http://www.rntsoft.com