Answers for "jqyert toggel text"

3

toggle text jquery

$("button").click(function(){
  $(this).text($(this).text() == 'Show' ? 'Close' : 'Show');
});
Posted by: Guest on January-21-2021
-2

how to toggle in text add

$(".email-slide").click(function(){
    $("#panel").slideToggle("slow");
    $(this)
    .text("Close")
    .toggleClass("active");
});
Posted by: Guest on May-12-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language