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

JavaScript DHTML
C++
PHP
JavaScript DHTML Home »  HTML   » [  Script  ]   
 



'event' Example

Please note that some example is only working under IE or Firefox.

    
<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 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.