Side navigation
#6420 closed bug (invalid)
Opened April 11, 2010 11:45AM UTC
Closed March 25, 2011 06:42PM UTC
change event originating from vanilla JS doesn't propagate to jQuery bound handler in iE
Reported by: | thetoolman | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | event | Version: | 1.4.2 |
Keywords: | ie6 change | Cc: | |
Blocked by: | Blocking: |
Description
Change events bound to inputs don't receive events originating from vanilla javascript fireEvent/dispatchEvent trigger. iE only;
Attachments (1)
Change History (8)
Changed April 11, 2010 11:46AM UTC by comment:1
Changed April 20, 2010 11:30AM UTC by comment:2
Bug and fix documented here :
http://forum.jquery.com/topic/how-do-i-get-ie6-to-fire-jquery-change-event-without-using-jquery
Changed October 09, 2010 11:17PM UTC by comment:3
milestone: | 1.4.2 → 1.4.3 |
---|---|
priority: | → undecided |
Unfortunately the patch as described there won't have the desired effect - it'll cause many more change events to fire (when we don't want them to). I'm not sure if this is something that we're going to focus on fixing right away. I'm keeping it in mind, though.
Changed October 15, 2010 10:24PM UTC by comment:4
status: | new → open |
---|
Changed November 12, 2010 02:39AM UTC by comment:6
milestone: | 1.4.3 |
---|
Resetting milestone to future.
Changed November 19, 2010 07:27PM UTC by comment:7
priority: | undecided → low |
---|
Changed March 25, 2011 06:42PM UTC by comment:8
resolution: | → invalid |
---|---|
status: | open → closed |
This code won't work properly because it checks for attachEvent first. In IE9 and Opera both attachEvent and addEventListener exist; jQuery uses addEventListener for that case.
Here is my test case and fix; ensure you try it in iE !
http://github.com/thetoolman/jquery/commit/a228013a706999df8dd3f70508c4f1b4298b2c21