Bug Tracker

Modify

Ticket #6775 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 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:

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

comment:1 Changed 4 years ago by dmethvin

Dup of #3827.

comment:2 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.