Deprecated. This property will continue to work, but a newer version is available at disabledDateRanges
.
Sets or gets the dates that a site visitor can't select.
Setting the disabledDates
property prevents site visitors from
selecting the specified dates.
Set disabledDates
to an empty array ([]
) to remove the current disabled dates.
Getting the disabledDates
property returns the current
list of disabled dates.