Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

add and remove class in jquery

$('#toggle li').on('click', function () {
    $(this).toggleClass('open')
});
Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #add #remove #class #jquery
ADD COMMENT
Topic
Name
8+5 =