#7908 closed enhancement (invalid)
jQuery('#checkbox').click() does not trigger change() event
Reported by: | 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/
Note: See
TracTickets for help on using
tickets.
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.