Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>jQuery</title>
- <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
- </head>
- <body>
- <p>This i a <a href="#">link.</a></p>
- <ul>
- <li>one</li>
- <li>two</li>
- <li>three</li>
- </ul>
- <script>
- $(document).ready(function () {
- $('body *').click(function (event) {
- $(this).fadeOut();
- })
- })
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement