javascript A hash
@March 15, 2008, 1:22 a.m.
hash | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1 |
Read/Write | |
Provides that portion of the href attribute's URL following the # symbol, referring to an anchor location in a document. Do not include the # symbol when setting the property. |
|
Example | |
document.getElementById("myLink").hash = "section3"; document.links[2].hash = "section3"; |
|
Value | |
String. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/a-hash.aspx
Powered by Linode.