Dhtml onmouseover onmouseout event | how to display dialog box when mouse in and mouse out in javascript

onmouseover this is event it will fire when mouseover the object
onmouseout in these event it will fire when mouseout the object
These mouseover and mouseout it used to display the message box when mouse in and mouse out the specific item
<html>
<head><title>STUDENTWEBSITE</title>
<script language="javascript">

function fnover()
{
alert("Mouse ovesr");
}
function fnout()
{
alert("Mouse out");
}
</script>
</head>
<body>
<img src="1.jpg" onmouseover="fnover()" onmouseout="fnout()">
</body>
</html>

Dhtml onmouseover onmouseout event  how to display dialog box when mouse in and mouse out in javascript


1 comments:

for IT the said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Javascript Training in Chennai . or Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry. ES6 Training in Chennai