Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!Doctype html>
- <html>
- <head>
- <meta charset="UTF-8">
- <script type="text/javascript" src="jquery.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- $("div").mouseenter(function(){
- $(this).hide();
- });
- $("p").click(function(){
- $(this).hide();
- });
- });
- </script>
- </head>
- <body>
- <p>Prvi paragraf teksta</p>
- <p>Ovo je drugi paragraf</p>
- <div style="background-color: yellow;">Ovo je div element</div>
- <p>Treci paragraf</p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement