The problem with the checkboxes is to make them work right in IE6, as the event changefires at all kinds of useless times.
Start with the function to disable:
function onCheckChange() {
if ($("#all-day-checkbox").is(':checked'))
$("select").attr('disabled', 'disabled');
else
$("select").removeAttr('disabled');
}
, select, , , select.some-class-to-identify-the-hours-and-minutes-and-seconds-dropdowns .
, , , : .
:
$("#all-day-checkbox").click(onCheckChange).change(onCheckChange);
$("label[for=all-day-checkbox]").click(onCheckChange);