Click function display and hide a div with jquery

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

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