Closed
Bug 282870
Opened 20 years ago
Closed 20 years ago
innerHTML inserts bogus form elements when inserting form controls
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 283036
People
(Reporter: bc, Unassigned)
References
()
Details
Attachments
(1 file)
1.52 KB,
text/html
|
Details |
Sometime after 2005-02-12, the trunk stopped running the inline examples in the javascript bootcamp. The problem appears to be when a dynamcally created div has its contents set to a select element using innerHTML. A bogus form element is wrapped around the select. Testcase coming up.
Reporter | ||
Comment 1•20 years ago
|
||
1. open testcase 2. click execute 3. alert that element not found, followed by alert of innerHTML showing bogus form. works in 1.7x and on trunk 2005-02-12.
Reporter | ||
Comment 2•20 years ago
|
||
works in 2005-02-18 trunk build, broken in 2005-02-19 build.
Reporter | ||
Comment 3•20 years ago
|
||
Blake, do you know what might have caused this?
Comment 4•20 years ago
|
||
I think it was me that caused this. :-( I'm going to mark this a duplicate of bug 283036 even though this was filed first, because that one got more discussion first. Sorry! *** This bug has been marked as a duplicate of 283036 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•12 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•