javascript location hash
@March 15, 2008, 1:22 a.m.
hash | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a |
Read/Write | |
Indicates that portion of a URL following the # symbol, referring to an anchor location in a document. This property contains its data only if the user has explicitly navigated to an anchor, and is not just scrolling to it. Do not include the # symbol when setting the property. |
|
Example | |
location.hash = "section3"; |
|
Value | |
String. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/location-hash.aspx
Powered by Linode.