Bug Tracker

Ticket #6159 (closed bug: cantfix)

Opened 5 years ago

Last modified 3 years ago

"change" events misbehavior with <select multiple="multiple"> and ie6

Reported by: vasya.pupkinbekov Owned by:
Priority: high Milestone: 1.next
Component: event Version: 1.4.3
Keywords: Cc:
Blocking: Blocked by:

Description

I have found a problem with <select multiple="multiple"> and .change() under ie6. The problem is ie6 fires first change event right after any other event, like selecting again, clicking mouse, pressing a key etc. It is perfectly seen on  http://api.jquery.com/change/. Just click any option in demo, nothing will happen.

If i put a handler using plain DOM, i.e. $("select").get(0).onchange = function() { ... } the problem dissapears. So, it's definitely a bug with jquery.

Change History

comment:1 Changed 5 years ago by cjk

I can confirm this happening on IE 6 using jQuery 1.4.2

Actually, no live-events of type "change" get fired on select-elements.

"Click" events work, so do "change"-events when I bind them (i.e. not using 'live').

comment:2 Changed 5 years ago by magatjquery

Same issue here. Is jquery part of the "dump IE6" movement?

comment:3 Changed 4 years ago by snover

  • need changed from Review to Patch
  • Priority set to undecided
  • Version changed from 1.4.1 to 1.4.2
  • Milestone changed from 1.4.2 to 1.4.3

I can confirm that the demo at api.jquery.com does not work properly.

The data retrieved from the form control always appears to be from the state *before* the change event occurred.

comment:4 Changed 4 years ago by snover

  • Priority changed from undecided to high
  • Status changed from new to open
  • Version changed from 1.4.2 to 1.4.3
  • Milestone changed from 1.4.3 to 1.5

comment:5 Changed 4 years ago by john

  • Milestone set to 1.next

comment:6 Changed 3 years ago by dmethvin

  • Status changed from open to closed
  • Resolution set to cantfix

Unfortunately, we can't fix this bug. It's specific to IE6 and doesn't affect IE7/8.

Note: See TracTickets for help on using tickets.