My code is:
我的代码是:
<div id="wrap">
<div id="element1" class="ewrap"></div>
<div id="element2" class="ewrap"></div>
<div id="element3" class="ewrap"></div>
<div id="element4" class="ewrap"></div>
<div id="element5" class="ewrap"></div>
</div>
How would I dynamically remove all elements after element1
?
如何在element1之后动态删除所有元素?