[whatwg] Setting innerHTML to null or undefined

Anne van Kesteren annevk at opera.com
Sat Jun 2 07:50:40 PDT 2007


For .innerHTML = null Opera and Internet Explorer act as if the literal  
string "null" was used. Firefox acts as if "" was used.

For .innerHTML = undefined Opera, Firefox and Internet Explorer act as if  
the literal string "undefined" was used.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list