I have this HTML
Label Here 5条回答 既然无缘 (楼主) 2020-12-30 10:12 $('.controll>div:gt(1)').remove(); :gt selector will let you select which has index greater then 1 theese are 3. elements and more here is example: http://jsfiddle.net/Am7Vw/1/ 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
$('.controll>div:gt(1)').remove();
:gt selector will let you select which has index greater then 1 theese are 3. elements and more
:gt
here is example: http://jsfiddle.net/Am7Vw/1/