<p>
<span id='0'>Đầu</span>
<span id='1'>tiên</span>
<span id='2'>xin</span>
<span id='3'>khẳng</span>
<span id='4'>định</span>
<span id='5'>cái</span>
<span id='6'>chuyện</span>
</p>
我想选择范围为id 2到5.我想用<span class="wrap">
$("seletedspans").wrapAll("<span class="wrap"></span")
怎么做?
答案 0 :(得分:5)