add incremental classes


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

add incremental classes


Copy this code and paste it in your HTML
  1. $(document).ready(function(){
  2. var i =1;
  3. $("#footer-panels ul li a").each(function(){
  4. $(this).addClass('footer-link'+i);
  5. i++;
  6. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.