'pathname' Syntax and Note : pathname « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- pathname
'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