标签: javascript
我想知道是否有办法删除div容器中的所有元素?我确定要使用子节点对数组进行排队?
<div id="myDiv"> <!-- Remove the following stuff --> <p>John</p> <span>Mike</span> </div>