Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!Doctype html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title></title>
- <script type="text/javascript" src="jquery.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- $("#a").click(function(){
- $("p").hide();
- });
- $("#b").click(function(){
- $("p").show();
- });
- });
- </script>
- </head>
- <body>
- <p>Ako kliknes na gumb "Sakri me" ja cu se sakriti.</p>
- <button id="a">Sakrij me</button>
- <button id="b">Otkrij me</button>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement