Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#7908 closed enhancement (invalid)

jQuery('#checkbox').click() does not trigger change() event

Reported by: alexvonweiss@… Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:

Description

Don't know if this is inteded, but if I click with the mouse on a checkbox (or on a label that is bound with it) the change event triggers.

But if I click the checkbox node with jQuery('#checkbox').click(), the change event does not trigger.

A testcase on jsfiddle: http://jsfiddle.net/pKN3k/

Change History (1)

comment:1 Changed 12 years ago by snover

Resolution: invalid
Status: newclosed

Thanks for the report, but this is not a jQuery bug. You are synthetically triggering a click event, not actually performing the same action as a real click. Please use the jQuery Forum for support requests in the future.

Note: See TracTickets for help on using tickets.