在table中插入多行的js代码(与insertAdjacentHTML相似的功能)
1 插入行 var num = 1; function addRow() { num ++; InsertRow(tableList,""+num+"新行"); } function InsertRow(table,rowHtml) { var o=document.createElement("div"),ol; o.innerHTML=""+rowHtml+"" ol=o.childNodes[0].tBodies[0].rows whi...