Closed
Bug 37584
Opened 24 years ago
Closed 24 years ago
Mozilla 5 fails to assess HTML4 dom functions
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
Future
People
(Reporter: tony.fu, Assigned: jst)
Details
I am not sure if this is a bug but that is what happens: If you have onchange event defined in HTML, it works but it cannot be assessed with the DOM. The one that is assigned with JavaScript does. Code included below (and it works on Netscape 4): <HTML> <HEAD> <SCRIPT Language=Javascript> <!-- function init(){ document.forms[0].t2.onchange=new Function("alert(2)"); alert(document.forms[0].t1.onchange); // give you nothing in Mozilla 5 !!! alert(document.forms[0].t2.onchange); // give you the right stuff } //--> </SCRIPT> </HEAD> <BODY onload='init()'> <FORM> <input name='t1' type='text' onchange='alert(1)'> <input name='t2' type='text'> </FORM> </BODY> </HTM
Comment 1•24 years ago
|
||
-->DOM0
Assignee: rogerl → jst
Status: UNCONFIRMED → NEW
Component: Javascript Engine → DOM Level 0
Ever confirmed: true
QA Contact: pschwartau → desale
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → M18
Assignee | ||
Comment 2•24 years ago
|
||
This bug has been marked "future" because the original netscape engineer workingon this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: M18 → Future
Assignee | ||
Comment 3•24 years ago
|
||
*** This bug has been marked as a duplicate of 49120 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•