'event' Example : Script : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » 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>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» Script