/ Published in: jQuery
add incremental classes
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function(){ var i =1; $("#footer-panels ul li a").each(function(){ $(this).addClass('footer-link'+i); i++; });