javascript - jQuery selects from 0 to the specified position, how to get it?
ringa_lee
ringa_lee 2017-05-19 10:34:31
0
1
499

How to give the specified li.qd from the first li and not including .meiwo
<ul>
<li></li>
<li class="meiwo "></li>
<li></li>
<li class="qd"></li>
<li></li>
<li></li>
</ul>

ringa_lee
ringa_lee

ringa_lee

reply all(1)
过去多啦不再A梦
$("ul li:lt("+($('ul .qd').index())+"):not(.meiwo)").text("vvvvvv");
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template