Click function display and hide a div with jquery

  • 0

How to show/hide div content on click event (jquery)?

$( document ).ready(function() {
$(‘.searchbutton’).click(function(){
$(“.searchbox”).toggle();
});
});

How to show/hide div content on click event (jquery)? $( document ).ready(function() { $(‘.searchbutton’).click(function(){ $(“.searchbox”).toggle(); }); });

How to show/hide div content on click event (jquery)? $( document ).ready(function() { $(‘.searchbutton’).click(function(){ $(“.searchbox”).toggle(); }); });