HTML/CSS/Object Attributes/event — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 11:16, 26 мая 2010
"event" specifies the event which will execute the script code
<source lang="html4strict">
<HTML> <body> <script language="JavaScript"
for="myButton" event="onclick()"> alert("button was clicked!")
</script> <input type="Button" id="myButton" value="Click here to trigger event"> </body> </HTML>
</source>