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

'pathname' Syntax and Note

Note:

Read and write property. 
Sets the object path name.
    
Syntax:
    
document.getElementById("elementID").pathName = value
document.all.elementID.pathName = value // IE only
location.pathName

    

      
      








Related examples in the same category

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