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