Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10465 closed bug (worksforme)

change event not fire for multiple select in certain cases on IE7/8/9

Reported by: [email protected] Owned by: [email protected]
Priority: low Milestone: None
Component: event Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:


Not sure if this is a bug in jQuery or some weird IE behavior... I did a bind of the change event for several multiple select boxes. Let's suppose an example box has only 2 options. If I select the 1st option, I get an event. But if I add the 2nd option, no event. However, if I start by select the 2nd option, I get an event. And then if I add the 1st option, I also get an event. ??? So change events are only fired if adding options that PRECEDE the first selected option. ??? Not seeing this behavior in Firefox.

Change History (3)

comment:1 Changed 11 years ago by dmethvin

Owner: set to [email protected]
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:2 Changed 11 years ago by anonymous

Edge seems to work as expected: http://jsfiddle.net/DCameronMauch/ANBVc/1/

jQuery 1.6.4 has the issue: http://jsfiddle.net/DCameronMauch/ANBVc/2/

comment:3 Changed 11 years ago by addyosmani

Component: unfiledevent
Priority: undecidedlow
Resolution: worksforme
Status: pendingclosed

Confirmed that edge currently works as expected with the behaviour described in IE 7,8, 9. Haven't tested with 6, but feel free to re-open if it can be reproduced in earlier browsers.

Note: See TracTickets for help on using tickets.