代码时候发现tr的innerHTML在IE下设置无效,但是chrome可以
度娘得知:
在IE中以下元素的innerHTML是只读的:col、 colgroup、frameset、html、 head、style、table、tbody、tr、 tfoot、 thead、title 等
代码时候发现tr的innerHTML在IE下设置无效,但是chrome可以
度娘得知:
在IE中以下元素的innerHTML是只读的:col、 colgroup、frameset、html、 head、style、table、tbody、tr、 tfoot、 thead、title 等