Posted By

thesmu on 05/16/13


Tagged

jquery addclass


Versions (?)

add incremental classes


 / Published in: jQuery
 

add incremental classes

  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  

You need to login to post a comment.