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.
Confirming with Mozilla trunk binary 20020701xx on WinNT. Browser, not engine ---> DOM Level 0; cc'ing jkeiser -
Assignee: rogerl → jst
QA Contact: pschwartau → desale
Happens on Linux, too. OS: Win XP ---> All.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
jkeiser, don't you have a patch for this rattling around?
Assignee: jst → jkeiser
I swear I've seen a bug like this before, but it's not in my bugmail. bug 136885 was somewhat similar, however.
Has been fixed.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.