jQuery UI Datepicker - Disable specific days

前端 未结 6 2128
予麋鹿
予麋鹿 2020-11-29 03:20

Is there any (easy) way to set the jQuery UI Datepicker to disallow selection of specific, predetermined days?

I was able to get this approach working, however, it p

6条回答
  •  迷失自我
    2020-11-29 03:31

    beforeShowDay: $.datepicker.noWeekends,
    

    will be

    beforeShowDay: noWeekendsOrHolidays,
    

提交回复
热议问题