Home > Unknown Runtime > Ie Document.getelementbyid Unknown Runtime Error

Ie Document.getelementbyid Unknown Runtime Error

Contents

vij August 22nd, 2012 at 7:20 am Fantastic.. Thanks for this post. Must have been a Windows update that caused it to suddenly fail. See http://support.microsoft.com/kb/239832 .Microsoft's workaround is to use the table object model instead. this contact form

It looks like it only enforces block/inline tags and not really tag semantics." --:) your opinion of ms is far too high.ie is not 'enforcing' anything. Adding this check should allow it to work for both IE and Firefox: if(document.getElementByID) { //Open standards method var obj=document.getElementById("myDiv"); } else if(document.all) { //IE method var obj=document.all['myDiv']; //Note the brackets I just had forgotten that form tags where already opened around the div. share|improve this answer edited Sep 14 '12 at 14:02 Sicco 4,20732549 answered Dec 8 '10 at 21:22 Boubacar 311

tags should not be nested, it's in the HTML http://stackoverflow.com/questions/555965/debugging-ie8-javascript-replace-innerhtml-runtime-error

How To Fix Unknown Runtime Error

For example, numbered equations are blocks, but should absolutely be considered part of a paragraph (as they are in LaTeX). This code works fine in Firefox: My Page