Due to my requirements i'm looking for an example of how to 'enable' a specific date in a JQUERY datepicker. I've disabled all in 2 lines of code and my logic has some specific dates that I need to enable. To do this by disabling would require much more code complexity. I've tried to find examples of enabling but came up with nothing.
If it cannot be done for specific dates i'll need to press on but I wanted to check first
function changeFormat() {
dVal = $("#FirstPeriodReconDate").datepicker("getDate");
StartDate = new Date(dVal);
EndDate = new Date(dVal);
$("#FirstROCRecycleReconDate").datepicker("option", "numberOfMonths", 3);
$("#FirstROCRecycleReconDate").datepicker("option", "buttonImage",
$("#AbsolutePath").val() + 'Content/images/Control_MonthCalendar.bmp');
$("#FirstROCRecycleReconDate").datepicker("option", "buttonImageOnly", true);
StartDate = new Date("May 20, 2012");
EndDate = new Date("June 21, 2012");
$("#FirstROCRecycleReconDate").datepicker("option", "minDate", StartDate);
$("#FirstROCRecycleReconDate").datepicker("option", "maxDate", EndDate);
}
Now I would like to enable a specific date, at this point all dates are disabled. I require to enable say 1st June 2012 but not sure if its possible
Thanks in advance J