daily pastebin goal
35%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!--
  2. =======================================================
  3. The HTML Contents Are here:
  4. =======================================================
  5. -->
  6.  
  7.  
  8. <!-- Button On which Click for show hide  -->
  9. <button class="filter">Click Me</button>
  10.  
  11. <div class="filter-wrap">
  12.     <p>Hello Me Here..!!</p>
  13. </div>
  14.  
  15.  
  16. <!--
  17. =======================================================
  18. The JQuery Function || The Scripts are Below.
  19. =======================================================
  20. -->
  21.  
  22. <script type="text/javascript">
  23.   $('.filter').on('click', function(){
  24.       if($('.filter_wrap').hasClass("letsshow")){
  25.           $('.filter_wrap').removeClass("letsshow");
  26.       }else{
  27.           $('.filter_wrap').addClass("letsshow");
  28.       }
  29.   });
  30. </script>
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