The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › nth-of-type ignores classes › Re: nth-of-type ignores classes
@hellowmrtaylor: In jQuery, you could just run the following:
function selectOddFoo() { $('.foo:odd').each(function() { // do something here }); }