Hide, show & toggel jquery A. Hide $("button").click(function(){ $("p").hide(1000); // 1 second takes time for hide }); B. Show $("button").click(function(){ $("p").show(1000); }); C. Toggle $("button").click(function(){ $("p").toggle(1000); }); Cook with me Share this content Opens in a new window X Opens in a new window Facebook Opens in a new window WhatsApp You Might Also Like Drag and drop file uploader September 23, 2023 addEventListner() in js August 23, 2023 jquery basic syntax August 2, 2023 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.