Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

toggle class javascript and jquery

$('.click-class').click(function() {
    $('.class-toggle').toggle();
    $('.class-toggle').toggleClass('add-class');
})
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #toggle #class #javascript #jquery
ADD COMMENT
Topic
Name
8+7 =