Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

Hash Syntax and Note

Note: Read and write property. Specifies the hash part of URL (the part that follows a # sign).      Syntax:      document.getElementById("elementID").hash = value document.all.elementID.hash = value // IE only location.hash = value