dom节点复制
var td = document.getElementById("复制的td的id");
var _td = td.cloneNode(true);//为真则复制子节点,否则只拷贝源节点var tr = document.getElementById("目标tr的id")
tr.appendChild(_td);
dom节点复制
var td = document.getElementById("复制的td的id");
var _td = td.cloneNode(true);//为真则复制子节点,否则只拷贝源节点