Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery toggle class

$( "#foo" ).toggleClass( 'className', addOrRemoveOptional );
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #jquery #toggle #class
ADD COMMENT
Topic
Name
4+9 =