insertRow returns null in IE7
问题 var otbody = document.createElement('tbody'); var otr = otbody.insertRow(ordernumber); otr.id="order" + ordernumber; var pidCell = otr.insertCell(0); There is an error when insertRow is executed in IE7. I use IE9's IE7 mode, and otbody does have the method insertRow. I have tried 0, -1, 1 etc. as the argument of this method in debugger console, but all return null. And when I use document.createElement("tr") to create table row, insertCell() returns null. I wonder if these methods to deal