Answers for "toggle text change jquery"

3

toggle text jquery

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

Code answers related to "toggle text change jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language