Closed Bug 1392 Opened 26 years ago Closed 26 years ago

SELECT element's "options" array not reflected into JavaScript

Categories

(Core :: DOM: Core & HTML, defect, P2)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: angus, Assigned: pollmann)

References

Details

Simple test case: <select onmouseup="alert(this.options[this.selectedIndex].id)"> <option id="one">One <option id="two">Two <option id="three">Three </select> 11-16-98 12pm optimized build.
*** Bug 1393 has been marked as a duplicate of this bug. ***
Assignee: bogus → karnaze
Assignee: karnaze → pollmann
Actually, Eric is now the forms guru.
Status: NEW → ASSIGNED
The "options" array is reflected correctly. For example <select size=3 onmouseup="dump(this.options[1].id)"> <option id="one">One <option id="two">Two <option id="three">Three The culprit in the first example is that the selectedIndex always returns -1 (indicating that no elements are selected) I'll work on getting that corrected...
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Just checked in a fix.
QA Contact: 4079
Status: RESOLVED → VERIFIED
verified in 3/1 build.
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.