Javascript examples for jQuery Method and Property:mouseout
Run function when the mouse pointer enters the HTML element
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("#p1").mouseenter(function(){ console.log("You entered p1!"); });/* www .j a v a 2 s.c o m*/ }); </script> </head> <body> <p id="p1">Enter this paragraph.</p> </body> </html>