select subset of div where div contains element with particular class
Hi,
I have a series of divs which I select on class
$('.myClass')....
Is it possible to further filter this if the div contains an element of another class so for instance, divs below with input having class="someOtherClass" would be selected and divs with class="someExcludedClass" would be excluded?
<div class="myClass">
<input type="text" class="someOtherClass" />
</div>
<div class="myClass">
<input type="text" class="someExcludedClass" />
</div>
thanks
Matt