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