jquery 選擇元素,選擇同一個(gè)類(lèi)下的固定子元素,只有father和child的索引值,該怎么選擇到child<div class="father">
<div class="child">child1</div>
<div class="child">child2</div>
<div class="child">child3</div>
<div class="child">child4</div>
</div>
<div class="father">
<div class="child">child1</div>
<div class="child">child2</div>
<div class="child">child3</div>
<div class="child">child4</div>
</div>
<div class="father">
<div class="child">child1</div>
<div class="child">child2</div>
<div class="child">child3</div>
<div class="child">child4</div>
</div>
只有father和child的索引值,該怎么選擇到child
慕碼人8056858
2018-08-02 18:58:29