jquery 删除table一行?HTML:functiondeleteCurrentRow(obj){ var isDeleteconfirm(真的要删除吗?)if(i
jquery 删除table一行
?
HTML:
function deleteCurrentRow(obj){ var isDelete=confirm("真的要删除吗?"); if(isDelete){ var tr=obj.parentNode.parentNode; var tbody=tr.parentNode; tbody.removeChild(tr); }}