Can anyone explain why $(this).is(":checked") gives the opposite result when clicking on a button using $("#test").click() than when manually clicking or using document.getElementById("test").click() ??
EDIT The requested behavior here - thanks:
http://jsfiddle.net/ub8Zk/4/
EDIT 2
This turned me on, but I finally realized - in version 1.5.2 jQuery, the event handler for the change event is triggered when the click() method is called (for example, native js) !! Not so in previous versions.
Look at here:
http://dl.dropbox.com/u/6996564/jquery_click_test/test-1.4.4.htm ... test-1.5.1.htm ... test-1.5.2.htm
Can someone help me report this error?
source share