Closed
Bug 156050
Opened 23 years ago
Closed 23 years ago
select boxes cannot be cleared by setting options.length =0
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: tim, Assigned: john)
Details
Attachments
(1 file)
439 bytes,
text/html
|
Details |
In all JS 1.5 browsers including NS 6.2, setting the select.options.length value
of a select box to zero clears all options and clears the select box. Mozilla
1.0 deletes the options, but not clear the value currently displayed.
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Confirming with Mozilla trunk binary 20020701xx on WinNT.
Browser, not engine ---> DOM Level 0; cc'ing jkeiser -
Assignee: rogerl → jst
Component: JavaScript Engine → DOM Level 0
QA Contact: pschwartau → desale
Comment 3•23 years ago
|
||
Happens on Linux, too. OS: Win XP ---> All.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
![]() |
||
Comment 4•23 years ago
|
||
jkeiser, don't you have a patch for this rattling around?
Assignee: jst → jkeiser
Whiteboard: DUPEME
Assignee | ||
Comment 5•23 years ago
|
||
I swear I've seen a bug like this before, but it's not in my bugmail. bug
136885 was somewhat similar, however.
Assignee | ||
Comment 6•23 years ago
|
||
Has been fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•