how to add slide toggle in jquery code example Example: jquery slidetoggle $("button").click(function(){ $("p").slideToggle(); });