Closed Bug 24724 Opened 25 years ago Closed 25 years ago

selectname.length = 0 does not clear select (combo box)

Categories

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

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 16879

People

(Reporter: lladnar1, Assigned: vidur)

References

()

Details

I checked with Mozilla build 2000012008 and previous version and none of them would clear the select box when the javascript command "selectname.length = 0" is issued. It works with netscape 4.7 and IE. Go to www.concentric.net/~dknutson/ where I have posted the code with which I discovered the bug. When the checkbox is checked the contents of the select should be 1,2,3 and when unchecked it should be A,B,C,D. When checked it is 1,2,3,D. The D is hanging around when there shouldn't be one
Thanks for posting the excellent test page. Reassigning to Document Object Model component, where such behaviors are implemented.
Assignee: mccabe → vidur
Component: Javascript Engine → DOM Level 0
QA Contact: rginda → desale
DUP of bug 16879 according to pollmann@netscape.com. *** This bug has been marked as a duplicate of 16879 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Dup, verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.