Event Handler with Multiple Statements in Attribute Value
<HTML> <HEAD> <TITLE>Event Handler With Multiple Statements</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- count=0 //--> </SCRIPT> </HEAD> <BODY> <H1>Event Handler With Multiple Statements</H1> <P><A HREF="http://www.navioo.com" ONMOUSEOVER='++count; alert("You moved your mouse here "+count+" times!")'>Displays the number of times you move your mouse over this link.</A></P> </BODY> </HTML>
Related Scripts with Example Source Code in same category :