views:

94

answers:

1

Hi

I am wondering if we can have block any specific dates from Jquery UI DatePicker?

For Example, if we want to block all dates till tomorrow, we specify as below.

 $("#UsageDate").datepicker({ minDate: +1 });

Similarly, I want to block Weekends and few official days from my Holidays Schedule(For example, May 31, Nov 27th and Dec 25th).

Thanks

+1  A: 

You can see an example of doing this here:
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerCustomCellRender.html

Joel Martinez