PDA

View Full Version : is it true that ie7 doesn't support innerHTML?



smansakra
12-03-2008, 07:42 AM
:( most of my site use "innerHTML" on its javascript.
i have just heard that ie7 doesn't support innerHTML.

id it true? :confused:

jscheuer1
12-03-2008, 09:29 AM
No, it's not true. There are perhaps some (at least one I know of off hand) quirks though - it's not supported in any IE version for populating the options of a select element. The innerHTML property isn't standard, so any browser may do whatever it likes with it, or nothing. Generally all modern browsers support it. However, it is safer to use DOM level 2 or other standard methods.

smansakra
12-03-2008, 09:45 AM
thanks for information