javascript location pathname

pathnameNN 2 IE 3 DOM n/a  

Read/Write  

Provides the pathname component of the URL. This consists of all URL information following the last character of the domain name, including the initial forward slash symbol.

 
Example
 
location.pathname = "/images/logoHiRes.gif";
 
Value

String.

 
Default

None.


1204,Nickname,Homepage or email,Comments here,Add comment