我这段手动添加表格的代码在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;
------解决方案--------------------
我这里动态增加很快啊!
查询谷 - www.chaxungu.com
小弟我这段手动添加表格的代码在ff下不能用哪位高手帮帮忙
编辑:chaxungu时间:2022-10-02 23:22:42分类:web开发