Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Adding active Class with JavaScript

$("#navMenus").on('click','li',function(){
     $(this).addClass("active");  // adding active class
});
Source by codepedia.info #
 
PREVIOUS NEXT
Tagged: #Adding #active #Class #JavaScript
ADD COMMENT
Topic
Name
5+6 =