Three useful event handlers with alert from HTML with JavaScript integrated in the code

<FORM NAME="demo1">
<INPUT TYPE="button" NAME="alertDemo" VALUE="Alert Demo"
onClick='alert("Another way to call JavaScript.")'>
</FORM>

When you click on the button the alert message comes forth


<FORM NAME="demo1">
<INPUT TYPE="button" NAME="alertDemo" VALUE="Alert Demo"
onMouseOver = 'alert("Another way to call JavaScript.")'>
</FORM>

When the mouse touches the button the alert message ceomes forth.


<FORM NAME="demo1">
<INPUT TYPE="button" NAME="alertDemo" VALUE="Alert Demo"
onMouseOut = 'alert("Another way to call JavaScript.")'>
</FORM>

When the mouse touches the button and then is put outside the button the alert message comes forth.


You are the visitor Counter to visit www.global-engineering.tk Thank you very much.

If any copyright laws are broken then we are glad to remove any copyrighted info of this site. Contact at : [email protected]

Copyright©2003 www.global-engineering.tk W

oue won`t allow the written text be taken directly without asked permission, although the facts given are free to take.


Hosted by www.Geocities.ws

1