[whatwg] Setting innerHTML to null or undefined
jonas at sicking.cc
Mon Jun 4 15:36:31 PDT 2007
Anne van Kesteren wrote:
> 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.
I'd really dislike having to have this one property behave differently
than other text properties in the DOM. How do opera/ie deal with other
text properties like .src, .id, .textContent?
More information about the whatwg