Side navigation
#6775 closed bug (duplicate)
Opened July 07, 2010 09:45PM UTC
Closed July 11, 2010 06:32PM UTC
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: | ||
Blocked by: | Blocking: |
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/
Dup of #3827.