I bind a click event to a checkbox and check it's checked status
(with this.checked).
The problem is that the checked status is different depending on
whether the trigger comes from an actual click on the element from
the user, or if I trigger it programatically with trigger. Anyone
solved this?
sample code
$(checkbox).bind('click', function() {
alert(this.checked); // different if user clicks or if I use $
(checkbox).trigger('click')
});
andreas
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/