'event' Example : Script « HTML « JavaScript DHTML
- 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