'name' Example : name 1 « Node Operation « JavaScript DHTML






'name' Example

    
<html>
<body>
<script language="JavaScript">
    document.getElementById("myLink").name = "par3";
</script>
<a href="#par3">Go to paragraph # 3 in this page</a>
<a id="myLink">www.java2s.com</a>
</body>
</html>

    
      
      








Related examples in the same category