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)
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.
Updated•26 years ago
|
Assignee: bogus → karnaze
Reporter | ||
Updated•26 years ago
|
Assignee: karnaze → pollmann
Reporter | ||
Comment 2•26 years ago
|
||
Actually, Eric is now the forms guru.
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•26 years ago
|
||
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...
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•26 years ago
|
||
Just checked in a fix.
Updated•26 years ago
|
QA Contact: 4079
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•