Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#12379 closed bug (cantfix)

programmatic click of a radio triggers change radio is checked BEFORE firing in chrome and AFTER firing in IE 7/8

Reported by: jpillora@… Owned by:
Priority: undecided Milestone: None
Component: event Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:

Change History (3)

comment:1 Changed 11 years ago by Timmy Willison

Component: unfiledevent
Resolution: cantfix
Status: newclosed

We are unable to control the order in which native events are fired.

comment:2 Changed 11 years ago by dmethvin

In this case it's a non-native event though, and it's complicated by the fact that IE6/7/8 don't have correct behavior on the change event so we have to simulate it. However, this is basically a dup of #3827 which is for checkboxes. The workaround is to use $("input")[0].click(); to get consistent behavior.

http://jsfiddle.net/dmethvin/u99Vr/14/

comment:3 Changed 11 years ago by anonymous

I'll give the workaround a try, thanks for the reply guys

Note: See TracTickets for help on using tickets.