Modify ↓
Ticket #6775 (closed bug: duplicate)
Inconsistent this.checked property value when triggering a click event on a checkbox
| Reported by: | ehynds | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | event | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I'm noticing that the reported this.checked property of a checkbox is reversed when the click event is manually trigger()'d, verses if you actually click on the checkbox.
not sure if this is a jQuery bug or just how javascript rolls. it appears as if the handler fires before the actual click event on the checkbox with trigger().
test case: http://jsfiddle.net/ehynds/Hgcut/
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Dup of #3827.