I\'m trying to add dynamic active class to my main menu, but i can\'t able to achieve this,
My jquery is,
Try this
About MHG Workout Programs Fitness Tips Contact Us Read Our Blog
jquery
$('a.menu').click(function(){ $('a.menu').removeClass("active"); $(this).addClass("active"); });
check this Fiddle http://jsfiddle.net/9nd4j/1/