innerHTML is working fine. firstChild for the outer div, however, is a Text node corresponding to the line break you have in the source, not an Element node. Text nodes don't have a way to set their innderHTML *** This bug has been marked as a duplicate of 26179 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → DUPLICATE
Boris, you're too fast for me ;-) VERIFIED dup.
Status: RESOLVED → VERIFIED
Component: DOM: Mozilla Extensions → DOM
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.