Modify ↓
Ticket #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: | ||
| Blocking: | Blocked by: |
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
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.