Is it possible to iterate over the divs containted within a div and of a certain type of css class ?
So iterate over all the divs within this jSfiddle that are within the div ‘outerDiv’ and are of type css – ‘testCss’
<div id="outerDiv">
<div class="testCss">test1</div>
<div class="testCss">test2</div>
<div class="testCss">test3</div>
<div class="testCss">test4</div>
<div class="testCss2">ignoreThis</div>
</div>
Is that you’ve been asking for?
DEMO: http://jsfiddle.net/Ya9ww/3/