Can anyone please help me to work out how to achieve the following? I have a set of divs of unknown size. Each div has a class of .feature. I need to run a jQuery script to
Let's jump to the assumption that you can fix the HTML to make it valid, and it looks like:
You can then use a selector like:
$("div:odd")
or
$("div:even")
more like:
$("div:even").children(':even');
NOTE: 0 based index, so 2,4,etc (normal count) are ODD...