'attribute' Example : attribute « Javascript Objects « JavaScript DHTML






'attribute' Example

    
<html>
<body>
<input type="button" 
       value="Get the value of this button" 
       onclick="alert(this.attributes('value').value);">
</body>
</html>

    
      
      








Related examples in the same category