Bug Tracker

Ticket #6775 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

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:


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

comment:1 Changed 5 years ago by dmethvin

Dup of #3827.

comment:2 Changed 5 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.