//获取父节点 var mian = document.getElementById(“six_contents_main_two”); 循环节点 while(mian.hasChildNodes()) { //删除节点 mian.removeChild(mian.firstChild); }