I poured over your patch all morning/afternoon and made a number of changes, but finally landed it in jQuery core: http://github.com/jquery/jquery/commit/5dc6b7ce3469eaadb37a151d449e8d36571d1894
We now completely override the change event in IE, even for binding to form elements. This gives us full parity with other browsers (yay!). Thanks again, Alexander! --John On Mon, Dec 21, 2009 at 9:52 AM, alexander farkas <[email protected]> wrote: > the url to the testcase, fix and diff: > http://www.protofunc.com/scripts/jquery/change-event/fixed-change.html > > On 21 Dez., 15:50, alexander farkas <[email protected]> > wrote: >> I looked in the current implementation of the change event and found >> some bugs in the IE specific code. The most obvious bugs were: >> >> 1. change-event bugs in conjunction with live: >> - the change event on radios happens to early (before the state is >> changed to checked) >> - the change event on radios also occurs, if the user only focuses it >> without changing it´s state (keyboard navigation or but untestet >> readonly-property) >> - the change event occurs also on disabled/readonly checkboxes >> - the change event on text-input and textarea never occurs >> (reason:http://groups.google.com/group/jquery-dev/browse_thread/thread/270483...) >> >> 2. change-event bugs in conjunction with bind >> - most change events are doubbeld (normal change + computed change >> including the bugs mentioned above) >> >> I tried to fix these issues you can find the demos + an uniffied diff >> @http://www.protofunc.com/scripts/jquery/change-event/fixed- >> change.html >> >> To see the difference you have to use IE (6-8) with a console.log. >> >> Due to the fact, that the change-event in IE is vehemently broken. We >> can completely intercepting it. This also allowes us to not only fix >> the ovbious things like the bad change event on checkboxes/ >> radiobuttons. it also allowes us to fix the accessibility issue with >> the change event on select-elements. >> >> The code is a quickfix so it needs a little love. > > -- > > You received this message because you are subscribed to the Google Groups > "jQuery Development" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/jquery-dev?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.
