insertRow

JS动态添加删除行
function addRow(){ var table = document.getElementById("tableID"); var newRow = table.insertRow