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)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…