IE中table的innerHTML无法赋值,解决办法:
document.getElementById("table1").outerHTML = document.getElementById("table1").outerHTML.replace(document.getElementById("table1").innerHTML, "<tr><td>你想要的innerHTML</td></tr>");
IE中table的innerHTML无法赋值,解决办法:
document.getElementById("table1").outerHTML = document.getElementById("table1").outerHTML.replace(document.getElementById("table1").innerHTML, "<tr><td>你想要的innerHTML</td></tr>");
转载于:https://www.cnblogs.com/rwen/archive/2012/05/29/2524570.html