admin管理员组

文章数量:1420197

I'm receiving an "Unknown Runtime Error" in IE8 on Windows 7 VM.

Here is my jsFiddle

The error says:

unknown runtime error. DmiAjax.js, line 317, character 9

Also, to help visualize, here's screenshot of said error:

The error occurs when I click my "Get Quotes" button, which looks like this:

 <input type="button" OnClick="javascript:populateCartTotalInCartPage();toggleTable();" value="Get Quotes" class="btn btn-orange">

I'm receiving an "Unknown Runtime Error" in IE8 on Windows 7 VM.

Here is my jsFiddle

The error says:

unknown runtime error. DmiAjax.js, line 317, character 9

Also, to help visualize, here's screenshot of said error:

The error occurs when I click my "Get Quotes" button, which looks like this:

 <input type="button" OnClick="javascript:populateCartTotalInCartPage();toggleTable();" value="Get Quotes" class="btn btn-orange">
Share Improve this question edited Sep 3, 2013 at 14:02 Mr_Green 41.9k47 gold badges170 silver badges276 bronze badges asked Sep 3, 2013 at 13:58 user2712343user2712343 311 silver badge3 bronze badges 4
  • 2 There is no need to use javascript:. Get rid of it. better yet, do it unobtrusively. – epascarello Commented Sep 3, 2013 at 14:00
  • Your fiddle has a lot of errors in the console. You should not have a script tag in the JavaScript section. – epascarello Commented Sep 3, 2013 at 14:02
  • Don't know about IE but in chrome with that fiddle I'm getting: Uncaught TypeError: Cannot read property 'value' of undefined – ars265 Commented Sep 3, 2013 at 14:03
  • This has been answered in [here][1] [1]: stackoverflow./a/13818214/2621192 – user2621192 Commented Sep 3, 2013 at 14:04
Add a ment  | 

1 Answer 1

Reset to default 5

This question has been asked and answered a lot. You can't directly modify the innerHtml of tables in IE8. See:

InnerHTML issue in IE8 and below

Why is document.getElementById('tableId').innerHTML not working in IE8?

etc...

本文标签: javascripttargetEleminnerHTML Unknown Runtime Error in IE8Stack Overflow