'hash' Syntax and Note : hash « Javascript Properties « JavaScript Reference

'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

    

      
      








Related examples in the same category

1.'hash' Example
2.'hash' is applied to