Closed
Bug 146220
Opened 22 years ago
Closed 7 years ago
events set via innerHTML not registered after document.load
Categories
(Core :: DOM: Events, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: weber, Unassigned)
References
Details
Attachments
(2 files)
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 BuildID: 20010901 In the attached example, the onClick event is not registered for the link object inserted via assignment to innerHTML when called from the event procedure for document.load. The same assignment called from within the doLoad procedure works fine. Reproducible: Always Steps to Reproduce: 1.Load attached page foo.html 2.Click "Click me to load document" 3. Document is loaded and link is changed 4. Click "Click me to demonstrate defect" Actual Results: After step 4, nothing happens Expected Results: After step 4, an alert box with the message "Works!" should be displayed.
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Comment 2•22 years ago
|
||
Comment 3•22 years ago
|
||
I see it on Linux, 2002073022
Comment 4•22 years ago
|
||
confirming on build 2002-09-04-08-trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Comment 5•21 years ago
|
||
WFM if I fix the first attachment: anotherfoo.xml -> foo.xml. That was (of course) causing an exception.
Updated•15 years ago
|
Assignee: joki → nobody
QA Contact: vladimire → events
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•