Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#10465 closed bug (worksforme)

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

Reported by: cam@… Owned by: cam@…
Priority: low Milestone: None
Component: event Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:

Description

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 7 years ago by dmethvin

Owner: set to cam@…
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 7 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 7 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.