“alternar o texto jQuery” Respostas de código

alternar o texto jQuery

$("button").click(function(){
  $(this).text($(this).text() == 'Show' ? 'Close' : 'Show');
});
syeddeveloper

JQuery altern tleggle text on clique

$(function(){
   $(".pushme").click(function () {
      $(this).text(function(i, text){
          return text === "PUSH ME" ? "DON'T PUSH ME" : "PUSH ME";
      })
   });
})
Modern Marten

como alternar no texto add

    $(".email-slide").click(function(){
    $("#panel").slideToggle("slow");
    $(this)
    .text("Close")
    .toggleClass("active");
});
Sleepy Snake

Respostas semelhantes a “alternar o texto jQuery”

Perguntas semelhantes a “alternar o texto jQuery”

Mais respostas relacionadas para “alternar o texto jQuery” em JavaScript

Procure respostas de código populares por idioma

Procurar outros idiomas de código