'event' Example : Script : HTML : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP


JavaScript DHTML  »  HTML   » [  Script  ]   
 



'event' Example

    
<html>
<body>
<script id="myScript" for="myButton" event="onclick()">
    alert(myScript.event);
</script>
<button id="myButton">Event for This Script</button>
</body>
</html>

    
      
      
Related examples in the same category
1.  Script 'language' Example
2.  script 'text' Example
3.  Script 'defer' Example
























Home| Contact Us
Copyright 2003 - 07 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.