One dissadvantage to using textnodes is it displays text and doesn't render html. Like this: var t = document.createElement('div'); t.innerHTML = html; thediv.appendChild(t); hope it works out for you Reply With Quote 09-10-2006,02:02 AM #7 timcharper View Profile View Forum Posts Registered User Join it all depends on what type of element you are trying to change the innerHTML of. You signed in with another tab or window. Source
About this Entry: You are reading "Internet Explorer and the "Unknown runtime error"", an article posted on 1 June 2009. It's not the behavior everyone else has, but by no stretch of imagination is it wrong. The only difference is presentational. I tried loading an entire page into a
tag - it failed (obviously), changing it to a
Therefore if you try to set innerHTML for these elements IE8 notify alter with Unknown Runtime Error. December 31, 2008 at 4:30 AM Sebastiaan said... What do you suggest I do to obtain the affect I'm looking for?
Thanx buddy i solved big problem.But i am not able to implement table in IE. Thanks for this post. Thanks for this post. Ie11 Innerhtml Not Working Secondly we are inserting a list item (li) into this paragraph, without having a unordered list (ul) as a parent element of this list item.
etc... Unknown Runtime Error Ie8 I found that the problem was that I had an ANCHOR with the same NAME as a DIV ID elsewhere in the page. Great, except I think IE's behaviour is then wrong when doing this:
The time now is 01:59 PM. busy 2007-08-17 02:12:59 UTC #2 instead of innerHTML try this bodyText.value='whatever'; I had this problem recently. document.write The following line of code works and displays the expected output: document.write('