Re: .innerHTML bug with mozilla/firefox (Ajax)
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: .innerHTML bug with mozilla/firefox (Ajax)

From: Thomas 'PointedEars' Lahn <PointedEars@web.de>
Date: Tue Apr 11 2006 - 12:33:40 CEST

Thomas 'PointedEars' Lahn wrote:

> Clément wrote:
>> [...]
>> In fact, when I do :
>> test.innerHTML =
>> '<div><table><tr><td>something</td></tr></table></div>'
>> The result is weird, because I check the code with an alert and I get
>> ...
>> alert(test.innerHTML);
>> =>'<div></div><table><tr><td>something</td></tr></table>'
>>
>> Why does Mozilla do that?? Apparently, Netscape does the same.
>
> [...]
> None of my innerHTML-capable Mozilla browsers[1] does show such a
> behavior. [...]
> ___________
> [1] Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205
> Debian/1.7.12-1.1
>
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805
> Netscape/7.2
>
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020508
> Netscape6/6.2.3

I forgot

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060313
Debian/1.5.dfsg+1.5.0.1-4 Firefox/1.5.0.1

PointedEars
Received on Mon May 1 04:54:55 2006