'getNamedItem()' Example : getNamedItem « Node Operation « JavaScript DHTML






'getNamedItem()' Example

    
<html>
<body>
<button onclick="alert(this.attributes.getNamedItem('onclick').value);">
get Named Item
</button>
</body>
</html>

    
      
      








Related examples in the same category