javascript A pathname
| pathname | NN 2 IE 3 DOM 1 |
| Read/Write | |
|
Provides the pathname component of the URL assigned to the element's href attribute. This consists of all URL information following the last character of the domain name, including the initial forward slash symbol. |
|
| Example | |
document.getElementById("myLink").pathname = "/images/logoHiRes.gif";
document.links[2].pathname = "/images/logoHiRes.gif";
|
|
| Value | |
String. |
|
| Default | |
None. |
|
Previous: javascript A port
Next: javascript A nameProp
184,Nickname,Homepage or email,Comments here,Add comment
