Comments on: Unknown runtime error in Internet explorer? http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/ Thu, 21 Nov 2013 21:47:55 +0000 hourly 1 https://wordpress.org/?v=4.7.8 By: Conner http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/comment-page-2/#comment-40056 Thu, 25 Oct 2012 15:15:57 +0000 http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/#comment-40056 I had this same issue except my problem was that I was using hidden inputs with innerHTML. It worked great in Firefox but IE caught the error and stopped the script.

My solution (thanks to this article and comments) was to use a span with a display:none style.

]]>
By: vij http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/comment-page-2/#comment-40054 Wed, 22 Aug 2012 07:20:00 +0000 http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/#comment-40054 Fantastic.. i have been trying yo fix this for 3 hrs..
Ur solution solved my problem

]]>
By: piyu http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/comment-page-2/#comment-40031 Wed, 27 Jun 2012 11:28:19 +0000 http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/#comment-40031 hi,

i got the error “htmlfile: Unknown runtime error” in IE 8, when i upgrade my IE version to IE9 it doesn’t run my web application(shows IE has stopped working message).

In other browsers it working fine but from few hrs it is giving this error in IE at the line-

e.innerHTML=”var __chd__ = {‘aid’:11079,’chaid’:’www_objectify_ca’};(function() { var c = document.createElement(‘script’); c.type = ‘text/javascript’; c.async = true;c.src = ( ‘https:’ == document.location.protocol ? ‘https://z’: ‘http://p’) + ‘.chango.com/static/c.js’; var s = document.getElementsByTagName(‘script’)[0];s.parentNode.insertBefore(c, s);})();”

i am using deveexpress control and javascript for popup window.

]]>
By: Brad Fallon http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/comment-page-2/#comment-39965 Tue, 01 Mar 2011 17:15:40 +0000 http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/#comment-39965 What is a runtime library and what is a runtime error? How can I correct this problem?

]]>
By: simon http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/comment-page-2/#comment-39409 Thu, 10 Feb 2011 11:06:56 +0000 http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/#comment-39409 This gave me a starter for ten – thanks for posting it.

]]>
By: Mark Brodsky http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/comment-page-2/#comment-36568 Wed, 06 Oct 2010 20:50:41 +0000 http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/#comment-36568 I had this same problem with the “Unknown Runtime Error” in IE 8 – code worked fine in Firefox and Safari…

But, I was not illegally placing a block element into an inline or other element. I was simply updating the innerHTML of a SPAN within a surrounding DIV. So no problem, right?

Pulled my hair out trying to figure out what was happening until I thought maybe I was using a reserved keyword…. Sure enough – my SPAN ID was ‘type’. I changed it to ‘typer’ and it all worked fine.

The funny thing about this is that it WAS working fine. Must have been a Windows update that caused it to suddenly fail.

]]>
By: Tommy http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/comment-page-2/#comment-35379 Tue, 15 Jun 2010 19:43:48 +0000 http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/#comment-35379 Good advice… I googled the topic, and before i looked, i just tried to use the .html() and .append() jquery functions, which worked beautifully… so there is solution numero dos

]]>
By: ben http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/comment-page-2/#comment-30929 Wed, 18 Nov 2009 08:13:16 +0000 http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/#comment-30929 Let’s try that again. Another data point:

In IE7, I was trying to replace a table via AJAX:

getElementById(”table”.innerHTML = http.responseText;
…
  <table id="table">
    ...
  </table>

…

and IE7 gave this stupid “unknown runtime error” message.

When I enclosed the table in a <div>:

<div id="tableContainer">
  <table id="table">
  </table>
</div>

then *both* of these worked great:

getElementById(”table”).innerHTML = http.responseText;

getElementById(”tableContainer”).innerHTML = http.responseText;

That is, I could replace both the table and the table container by their IDs.

HTH

– ben

]]>
By: ben http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/comment-page-2/#comment-30928 Wed, 18 Nov 2009 08:01:51 +0000 http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/#comment-30928 Another data point:

In IE7, I was trying to replace a table via AJAX:

getElementById(“table”.innerHTML = http.responseText;

and IE7 gave this error.

When I enclosed the table in a :

<div id="tableContainer"

then *both* of these worked:

getElementById(“table”.innerHTML = http.responseText;

getElementById(“tableContainer”.innerHTML = http.responseText;

HTH

— ben

]]>
By: Alexander Ewering http://localhost/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/comment-page-2/#comment-30775 Mon, 09 Nov 2009 08:22:18 +0000 http://gljakal.com/blog/2006/02/19/unknown-runtime-error-in-internet-explorer/#comment-30775 No need for fanboyish Microsoft Bashing, please.

And BTW, MSIE8 still does this (same error message), so it’s not an MSIE6 issue.

]]>