Skip to main content

Bug Tracker

Side navigation

#8374 closed bug (duplicate)

Opened February 24, 2011 05:48PM UTC

Closed February 24, 2011 08:04PM UTC

Last modified February 24, 2011 08:04PM UTC

When using .click() on an input a delegate gets fired before the input's checked has been updated

Reported by: Owned by:
Priority: low Milestone:
Component: event Version: git
Keywords: Cc:
Blocked by: Blocking:

I ran across what I believe to be a bug that dates back all the way to 1.4.2 and still exists in the latest git. When I call $(input).click(), the delegate gets called as expected, but it happens before the input's checked value gets updated appropriately. This makes it a requirement to call $(input)[0].click() to get the proper order to occur and the delegates to work correctly should they need the checked value.

1. jsFiddle is of the problem:

2. jsFiddle of how it should work:

Attachments (0)
Change History (2)

Changed February 24, 2011 08:04PM UTC by jitter comment:1

component: unfiledevent
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed February 24, 2011 08:04PM UTC by jitter comment:2

Duplicate of #3827.