我这段手动添加表格的代码在ff下不能用谁帮帮忙啊
newRow = mt.insertRow();
cell1 = newRow.insertCell();
cell2 = newRow.insertCell();
cell1.innerHTML = title;
ff不能用insertRow insertCell
怎么办
用appendChild?
[解决办法]
FF 可以用 insertRow() 和 insertCell(),但是要带参数。比如:
newRow = mt.insertRow(0);
cell1 = newRow.insertCell(0);
cell2 = newRow.insertCell(1);
cell1.innerHTML = title;
[解决办法]
我这里动态增加很快啊!