'urn' Example : urn « Javascript Properties « JavaScript Reference

'urn' Example

    
<html>
<body>
<script language="JavaScript">
    function function1() {
        var m = document.all.myA.urn; 
        alert(m);
    }
</script>
<input type="button" value="Get the urn" onclick="function1();">
<a id="myA" href=http://www.java2s.com/ urn="Java2s.com Website">Java2s.com web page</a>
</body>
</html>

    
      
      








Related examples in the same category

1.'urn' Syntax and Note
2.'urn' is applied to