'Exception' is not counting the no. of times the mouse hover on the text.
<html>
Whenever I hover mouse on the text, it should get counted which is not happening (below is the code):
<head>
<title>Event handling</title>
</head>
<body>
<h1> Event <h1>
/* <p> <a onmouseover = "alert('Pop up window text')"> Text of the webpage </a></p></h1></h1> this line of code was properly runnning whenever I hovered mouse on it, but it was not counting the no. of times I did. So for that I code the line below*/
<p> <a href="http://www.google.com" onmouseover='++count; alert ("Moved")'> jjj</a></p>
</body>
</html>
'Exception' is not counting the no. of times the mouse hover on the text.
Please do guide me. Thanks in advance.