$('ul li a').each(function(index, element){$(element).attr("href", "#img"+index);});
I'd like my list item links to start with the href as "#img1" and count up from there for each item. The code I have will start at "#img0" which doesn't work for what I'm trying to accomplish.
Thanks for any help.