2

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:

enter image description here

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">
Mr_Green
  • 40,727
  • 45
  • 159
  • 271
user2712343
  • 31
  • 1
  • 3
  • 2
    There is no need to use `javascript:`. Get rid of it. better yet, do it unobtrusively. – epascarello Sep 03 '13 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 Sep 03 '13 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 Sep 03 '13 at 14:03
  • This has been answered in [here][1] [1]: http://stackoverflow.com/a/13818214/2621192 –  Sep 03 '13 at 14:04

1 Answers1

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...

Community
  • 1
  • 1
moritzpflaum
  • 729
  • 4
  • 10