I want to run some code when a checkbox is clicked, but I don't want to use the onChange event because that is triggered when the checkbox state is changed programatically. I want it to execute only when clicked by the user.
I tried this code to bind to the click event:
$('#chkCanceled').checkbox('checkbox').bind('click', (function(e) { CalculateSpecialCharge() }));
But that produced the error message
$.fn.checkbox.methods[_53a] is not a functionSo is there a way to set a click event on the checkbox?