$( "#clickme" ).click(function() { $( "#book" ).toggle( "slow", function() { // Animation complete. }); });
//Display or hide the matched elements. $('.myElement').toggle(); // Display the matched element. $('.myElement').show(); // Hides the matched element. $('.myElement').hide();