摘要:
[javascript]var div=document.getElementById("div");var first=div.firstChild,next=first;while(next){var d=document.createElement("div");d.appendChild(next);d.innerHTML="";next=div.firstChild;}/////////////////////////////////////////////////////简单的removeChild方式:var div=d 阅读全文