我在 Windows 7 虚拟机上的 IE8 中收到“未知运行时错误”。
这是我的 jsFiddle
错误提示:
unknown runtime error. DmiAjax.js, line 317, character 9
此外,为了帮助可视化,这里是所述错误的屏幕截图:
当我点击“获取报价”按钮时发生错误,如下所示:
<input type="button" OnClick="javascript:populateCartTotalInCartPage();toggleTable();" value="Get Quotes" class="btn btn-orange">
最佳答案
这个问题已经被问过很多次,也得到过很多次回答。 IE8中不能直接修改表格的innerHtml。 请参阅:
InnerHTML issue in IE8 and below
Why is document.getElementById('tableId').innerHTML not working in IE8?
等等...
关于javascript - IE8 中的 targetElem.innerHTML 未知运行时错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18594244/