Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- =======================================================
- The HTML Contents Are here:
- =======================================================
- -->
- <!-- Button On which Click for show hide -->
- <button class="filter">Click Me</button>
- <div class="filter-wrap">
- <p>Hello Me Here..!!</p>
- </div>
- <!--
- =======================================================
- The JQuery Function || The Scripts are Below.
- =======================================================
- -->
- <script type="text/javascript">
- $('.filter').on('click', function(){
- if($('.filter_wrap').hasClass("letsshow")){
- $('.filter_wrap').removeClass("letsshow");
- }else{
- $('.filter_wrap').addClass("letsshow");
- }
- });
- </script>
Add Comment
Please, Sign In to add comment