Skip to main content

Bug Tracker

Side navigation

#7908 closed enhancement (invalid)

Opened January 06, 2011 11:38AM UTC

Closed January 09, 2011 02:05AM UTC

Last modified March 14, 2012 12:31AM UTC

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

Reported by: alexvonweiss@googlemail.com 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/

Attachments (0)
Change History (1)

Changed January 09, 2011 02:05AM UTC by snover comment:1

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.