.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

.innerHTML bug with mozilla/firefox (Ajax)

From: Clément <cthomas03@gmail.com>
Date: Mon Apr 10 2006 - 16:00:01 CEST

Hi!

I am currently developping a user interface with Ajax/C#/.net. And I am
facing a problem with Mozilla, and Firefox.

I use the function innerHTML to load a Web UserControl into a div, this
way the main page never gets refreshed. It works perfectly under IE,
but with Mozilla and Firefox I got a problem : there is a space before
the thing I want to display everytime I use ".innerHTML".

For example:

I have a div called "test" like ...
=> "something"
When I use test.innerHTML = "something else", I get ...
=> "
      something else"

Could someone help me, please?
Received on Mon May 1 04:53:21 2006