Active Class higlight in list


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $('.links li a').click(function() {
  2. $('.links li a').removeClass('marginActive');
  3. $(this).addClass('marginActive');
  4. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.