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

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Properties » hash 
'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
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.