G2A Many GEOs
SHARE
TWEET

Untitled

a guest Jun 14th, 2015 31 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
  2. <script>
  3.  
  4. $(document).ready(function() {
  5.  
  6.  
  7. $("#toggle_it").click(function () { $(".to_toggle").toggle(1000); });
  8.  
  9. $(".to_toggle").show();
  10.  
  11. $("#toggle_it1").click(function () { $(".to_toggle1").toggle(1000); });
  12.  
  13. $(".to_toggle1").show();
  14.  
  15. })
  16. </script>
  17.  
  18.  
  19. <hr />
  20. <button id="toggle_it">Toggle</button>
  21. <h1 class="to_toggle">testing the toggle functionality of jQuery</h1>
  22.  
  23. <button id="toggle_it1">Toggle</button>
  24. <h1 class="to_toggle1">testing the toggle functionality of jQuery</h1>
  25.  
  26. <h1 class="to_toggle">testing the toggle functionality of jQuery</h1>
  27.  
  28. <hr />
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top