Skip to main content

Bug Tracker

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)
  • eventEg.html (1.2 KB) - added by thetoolman April 20, 2010 11:27AM UTC.

    Example of problem

Change History (8)

Changed April 11, 2010 11:46AM UTC by thetoolman comment:1

Here is my test case and fix; ensure you try it in iE !

http://github.com/thetoolman/jquery/commit/a228013a706999df8dd3f70508c4f1b4298b2c21

Changed April 20, 2010 11:30AM UTC by thetoolman comment:2

Changed October 09, 2010 11:17PM UTC by john comment:3

milestone: 1.4.21.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 snover comment:4

status: newopen

Changed October 23, 2010 08:04AM UTC by snover comment:5

#7292 is a duplicate of this ticket.

Changed November 12, 2010 02:39AM UTC by snover comment:6

milestone: 1.4.3

Resetting milestone to future.

Changed November 19, 2010 07:27PM UTC by addyosmani comment:7

priority: undecidedlow

Changed March 25, 2011 06:42PM UTC by dmethvin comment:8

resolution: → invalid
status: openclosed

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.