Re: node.innerHTML = '...' not working in IE




Joel Byrd wrote:

> I am having this ridiculous problem of trying to set the innerHTML of a
> div node. It works in all other browsers, but internet explorer is
> giving me an "Unknown runtime error".
[snip]

> where "listings" is html code gotten using the XmlHttpRequest object on
> a remote PHP file. I do an "alert(listings)" and a
> "alert(document.getElementById('suggest_box').innerHTML)" right before
> the error line and sure enough, the listings is showing that it is
> indeed set, and the suggest_box node indeed exists.

Could you post the actual HTML contained within "listings" so we can
see what you are trying to put into the innerHTML.

Julian

.



Relevant Pages

  • Re: node.innerHTML = ... not working in IE
    ... > div node. ... > line on which the javascript error is being thrown. ... > where "listings" is html code gotten using the XmlHttpRequest object on ...
    (comp.lang.javascript)
  • node.innerHTML = ... not working in IE
    ... div node. ... It works in all other browsers, but internet explorer is ... line on which the javascript error is being thrown. ... where "listings" is html code gotten using the XmlHttpRequest object on ...
    (comp.lang.javascript)