I have a list of links, around 40 of them. I want to apply classes to groups of them. So, items 1-10 I want to apply a class to, then 11-20, then 21-30 and 31-40, each of these groups should have their own class.
Is something like this possible? I looked through the jQuery selectors and could not find a solution.