toggle jquery with animation code example Example: jquery slidetoggle $("button").click(function(){ $("p").slideToggle(); });