Ticket #6159 (closed bug: cantfix)
"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:2 Changed 3 years ago by magatjquery
Same issue here. Is jquery part of the "dump IE6" movement?
comment:3 Changed 3 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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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').