Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!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(){
- alert("Najechałeś myszką nad element p o id="p1"!");
- });
- });
- </script>
- </head>
- <body>
- <p id="p1">Najedź myszką na mnie!</p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement