Opened 13 years ago
Closed 12 years ago
#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: | ||
Blocked by: | Blocking: |
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 (6)
comment:1 Changed 13 years ago by
comment:3 Changed 12 years ago by
Milestone: | 1.4.2 → 1.4.3 |
---|---|
need: | Review → Patch |
Priority: | → undecided |
Version: | 1.4.1 → 1.4.2 |
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 12 years ago by
Milestone: | 1.4.3 → 1.5 |
---|---|
Priority: | undecided → high |
Status: | new → open |
Version: | 1.4.2 → 1.4.3 |
comment:5 Changed 12 years ago by
Milestone: | → 1.next |
---|
comment:6 Changed 12 years ago by
Resolution: | → cantfix |
---|---|
Status: | open → closed |
Unfortunately, we can't fix this bug. It's specific to IE6 and doesn't affect IE7/8.
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').