Or Weinberger
Or Weinberger

Reputation: 7482

jQuery UI Datepicker disable all days before certain date

Is there any way of using the minDate in order to disable all days before a certain date? I know I can use minDate: 0 to disable all days before the current date, but I need to specificy a date and disable all dates before that date.

I could also use showDaysBefore but I think I will have to define a list of all days I want to disable..

Upvotes: 0

Views: 2630

Answers (1)

PSR
PSR

Reputation: 40358

you can specify like this

 minDate: new Date(1999, 10, 25),

Upvotes: 2

Related Questions