IE, innerHTML
"The (innerHTML) property is read/write for all objects(source)
except the following, for which it is read-only:
COL, COLGROUP, FRAMESET, HTML, STYLE, TABLE, TBODY,
TFOOT, THEAD, TITLE, TR."
excellent ...
Comments
IE also has innerHTML issues with SELECT elements
http://webbugtrack.blogspot.com/2007/08/bug-274-dom-methods-on-select-lists.html
and can write to many other elements, but you might encounter this bug with the final rendering
http://webbugtrack.blogspot.com/2007/10/bug-124-setting-innerhtml-problem-no1.html
and it won't correctly handle line breaks if you add them to a PRE element (fixed in IE8)
http://webbugtrack.blogspot.com/2008/03/bug-165-dynamic-pre-population-fails-in.html
finally you'll find issues trying to populate the innerHTML of a S C R I P T element too (S P A C E D out in case it triggers filters)
Oh the joys of IE! :-)
No new comments allowed (anymore) on this post.








