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


You need to login to view comments.