日期:2014-05-16 浏览次数:20315 次
?
function cleanAll(){ var opanel = document.getElementById("panel"); var pchildren = opanel.childNodes; //清空表中的行和列 for(var i=0; i<pchildren.length; i++){? opanel.removeChild(pchildren[i]); }}