HighDots Forums  

Netscape - innerHTML

alt.html.dhtml alt.html.dhtml


Discuss Netscape - innerHTML in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ace_G
 
Posts: n/a

Default Netscape - innerHTML - 01-14-2004 , 05:47 PM






Hi,

I've a problem with a JS function that works well with IE but not with
Netscape 7.
Here is the code :
function ChangeMessage(){
if (document.getElementById){
document.getElementById("box1").innerHTML = "message";
}
}

With this code, under Netscape, it displays twice "message" in my DIV !!!
And if I call again this function, it displays nothing.

I really can't undertsand why....I someone have an idea...

Thanks.






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.