DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+6 =
Submit