Event Handler with Multiple Statements in Attribute Value : Variable Definition : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » Variable Definition »

 

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>
           
       



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Language Basics
» Variable Definition