Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $(document).ready(function{
- $("#first").click(function{
- $("#second").css("display", "none");
- })
- })
- </script>
- <div id="first"></div>
- <div id="second"></div>
- <style>
- #first{
- width: 200px;
- height: 200px;
- background: red;
- }
- #second{
- width: 200px;
- height: 200px;
- background: blue;
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement