I have a DOM in the form of
<input class="parent"></div>
<input class="child"></div>
<input class="child"></div>
<input class="parent"></div>
<input class="child"></div>
...
which I know is not Right and the right way to do this would be to reform the HTML, but lets say that is not possible.
How can I get jquery to select all children of one parent (that is select all .children until .parent)