Closed xApep closed 6 years ago
Hi. Is it possible do disable individual days in datepicker? Let say we have a hotel availability date-picker, some days are available and some are not, is it possible to disable (can't be selected) those which are not available?
For example:
Thanks!
Yes, have a look at beforeShowDay() function at http://longbill.github.io/jquery-date-range-picker/, for the "disabled" days, the first entry of the array should be false...
beforeShowDay()
Hi. Is it possible do disable individual days in datepicker? Let say we have a hotel availability date-picker, some days are available and some are not, is it possible to disable (can't be selected) those which are not available?
For example:![image](https://user-images.githubusercontent.com/1315340/36415744-3eb01160-1627-11e8-861d-8087e2bd73ab.png)
Thanks!