Re: Can't use Firefox innerHTML() on XHTML page?

Martin Honnen <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Organization Liberty Development
Message-ID <[email protected]>
Martin Honnen wrote:

> I think I now know what causes the problem. The has lots of JavaScript 
> code that also sets innerHTML on several elements created and it looks 
> as if Firefox 3.0, if someone tries to set innerHTML to a not 
> well-formed snippet fails on subsequent attempts to set innerHTML, even 
> if now the snippet is well-formed. And before you run your bookmarklet 
> tht page creates and sets innerHTML to a mal-formed snippet and then 
> later attempts to set innerHTML fail.
> 
> I will test whether that happens too with a Firefox trunk nightly and if 
> so file a bug.

I tested with a Firefox trunk nightly but there you can continue to use 
innerHTML even if you once tried to set it to a mal-formed snippet.

-- 

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.