My custom JQuery datepicker:

Toggle the 'enabled' state of datepicker via AJAX: Toggle