用户工具


dom操作

var tbody=document.createElement("tbody");
tbody.setAttribute("id","table_body");
tbody.innerHTML="你好";
document.getElementById('table').appendChild(tbody);
 document.getElementById('table').removeChild(document.getElementById('table_body'));