Monday, September 10, 2012

simple function invocation in Javascript

Javascript tutorial functions



Javascript Events Sample


<HTML>
<HEAD>
<TITLE>JavaScript Events</TITLE>
<SCRIPT LANGUAGE="JavaScript">
num=0
function handler()
{
num++
alert("Number : "+num)
}
</SCRIPT>
</HEAD>
<BODY>
<A HREF="J1.HTML" onMouseOver='handler()' > Place Your Mouse Cursor Over This </A>
</BODY>
</HTML>

0 comments:

Post a Comment