Skip to main content

Bug Tracker

Side navigation

#10465 closed bug (worksforme)

Opened October 10, 2011 04:41PM UTC

Closed October 19, 2011 10:49AM UTC

Last modified March 14, 2012 07:21AM UTC

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

Reported by: cam@douglas-cameron.net Owned by: cam@douglas-cameron.net
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.

Attachments (0)
Change History (3)

Changed October 11, 2011 02:38AM UTC by dmethvin comment:1

owner: → cam@douglas-cameron.net
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.

Changed October 11, 2011 08:01PM UTC by anonymous comment:2

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/

Changed October 19, 2011 10:49AM UTC by addyosmani comment:3

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.