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(){
- $("button").click(function(){
- $("#test").hide();
- });
- });
- </script>
- </head>
- <body>
- <h2>Nagłówek</h2>
- <p>Oto Paragraf.</p>
- <p id="test">A to inny paragraf z identyfikatorem o nazwie test.</p>
- <button>Kliknij!</button>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement