摘要: [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 阅读全文
posted @ 2012-02-08 13:04 Jake.Xu 阅读(503) 评论(0) 推荐(0) 编辑