'hash' Example : Hash : Document JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Document » Hash »

 

'hash' Example



    
<html>
<body>
<script language="JavaScript">
    function function1() {
        alert(document.getElementById("myLink").hash);
    }
</script>
<a tabindex="2" id="myLink" href="test.htm#sty" target="_blank">
    anchor element
</a>
<button onclick="function1();">Hash Value</button>
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Document
» Hash