为什么在删除函数里直接获取table元素就不行啊?
function deleteRow(obj){ var table = document.getElementById("table"); table.removeChild(obj.parentNode.parentNode); }
function deleteRow(obj){ var table = document.getElementById("table"); table.removeChild(obj.parentNode.parentNode); }
2015-05-28
举报