I'm trying to find out how to add a class to every third occurrence of an element.
Basically, I have a DIV with an undefined number of DIVs inside of it, and I want to add a class to every third DIV
I'm trying to find out how to add a class to every third occurrence of an element.
Basically, I have a DIV with an undefined number of DIVs inside of it, and I want to add a class to every third DIV