I’ve been looking over previously asked questions and can’t seem to find a solution for my scenario…
I’d like to be able to loop through all children and children of children, etc…
the markup from design looks similar to this
<div>
<div>
<label></label>
</div>
<div>
<label></label>
</div>
<div>
<label></label>
</div>
</div>
I’d like to be able to select all labels within a specific div, regardless of their direct parent.
It’s just CSS selector notation. Assuming that
<div>has an ID ofmyDiv: