Bug Tracker

Modify

Ticket #10465 (closed bug: worksforme)

Opened 20 months ago

Last modified 14 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 20 months ago by dmethvin

  • Owner set to cam@…
  • Status changed from new to pending

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 20 months 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 19 months ago by addyosmani

  • Priority changed from undecided to low
  • Resolution set to worksforme
  • Status changed from pending to closed
  • Component changed from unfiled to event

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.