Open Bug 409198 Opened 17 years ago Updated 3 years ago

No events when setting menulist value with JS

Categories

(Core :: DOM: Events, defect, P5)

x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: axel.azerty, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11 Setting a value of the menulist (with menupopup & menuitems) element (with .selectedItem or .selectedIndex property) doesn't send the 'command' (neither 'select' or 'change') event. This works well with listbox elements. Reproducible: Always Steps to Reproduce: 1.Create a menulist/menupopup/menuitem tree 2.Select a value with JS code and selectedIndex or selectedItem property Actual Results: No 'command' or 'select' or 'change' events is sent. 'DOMAttrModified' is sent.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.