Is there a way to select a element by index with Javascript or jQuery? For instance:
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
Under jQuery I could get the length as 4, now is there a way to select and then manipulate a element of "div.item" based on its index number?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…