...

View Full Version : Does IE4 support innerHTML?



Kor
10-27-2003, 11:36 AM
I have no IE4 to verify... so

is it a correct syntax?:
document.all[id].innerHTML = 'blabla';

if not, is there an equivalent for changing the ID's content?

Roy Sinclair
10-27-2003, 06:42 PM
IE4 is the version which introduced innerHTML so, yes it works in IE4.

JAVAEOC
10-27-2003, 06:47 PM
IE4 might work but IE3 and lower will not support innerHTML

:thumbsup:

JAVAEOC
10-27-2003, 06:47 PM
netscaper lower then version 4 will not support innerHTML

Roy Sinclair
10-27-2003, 06:57 PM
Originally posted by JAVAEOC
netscaper lower then version 4 will not support innerHTML

Correction, Netscape lower than version 6 doesn't support innerHTML and no version of Netscape supports the document.all construct.

Kor
10-28-2003, 07:16 AM
thank you all. I know that NS6+ supports innerHTML so that is enough for me as I decided sometime ago to work cross-browser for NS6+ and IE4+ only.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum