I've seen this question before but all the answers I saw do not apply to my particular problem. Most of the ones I've seen were caused by the click not being used in a document ready function. All of the stuff in setup_calenders and disable_items is happening but no alert pops up when the checkbox is clicked.
$(document).ready(setup)
function setup() {
$("id_Clearance").click(enable_clearance);
$("id_Paperwork").click(enable_paperwork);
$("id_AVSupport").click(enable_support);
setup_calendars();
disable_items();
}
function enable_paperwork()
{
alert("clicked");
}
click() is a shortcut for .bind("click", handler), as well as for .on("click", handler) as of jQuery 1.7. api.jquery.com/click