DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
toggle text jquery
$("button").click(function(){ $(this).text($(this).text() == 'Show' ? 'Close' : 'Show'); });
PREVIOUS
NEXT
Tagged:
#toggle
#text
#jquery
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit