Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
- <script>
- $(document).ready(function(){
- $("#p1").mouseenter(function(){
- alert("You entered p1!");
- });
- });
- </script>
- </head>
- <body>
- <p id="p1">Enter this paragraph.</p>
- </body>
- </html>
- $("#p1").mouseenter(function(){
- alert("You entered p1!");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement