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

13th Nov 2016, 6:30 PM
Brian Mwangi
Brian Mwangi - avatar
2 odpowiedzi
+ 2
You should use mouseover event
13th Nov 2016, 9:43 PM
Mihai Alexandru
0
<div onmouseover="myfunction()" > content </div> <script> function myfunction() { alert(" heyyy u r on my div tag"); } </script>
15th Nov 2016, 9:37 AM
Surya Praharsha
Surya Praharsha - avatar