0
How do i make there to be an alert when the mouse is slided over the div tag
how do i make there to be an alert over the div tag when a mouse is ran over it
2 Answers
+ 2
You should use mouseover event
0
<div onmouseover="myfunction()" > content </div>
<script> function myfunction()
{
alert(" heyyy u r on my div tag");
}
</script>