Hi list...
I want to get all the div.action that don't have div.tandem as their parent. I've tried all sorts of things, but I can't quite get it. I'm sure this is easy, but it's eluding me. Any tips are appreciated.
Something like:
$(".taskRow div.action").not(.parent("div.tandem")) ?
thanks,
- Michael M.
<div class="taskRow">
<div class="action"></div>
<div class="tandem">
<div class="action"></div>
</div>
<div class="review"></div>
<div class="action"></div>
<div class="tandem">
<div class="action"></div>
</div>
<div class="action"></div>
</div>