I want to have my localized datepicker not allow certain dates picking.
Localization:
$("#datepicker").datepicker($.datepicker.regional["fr"]);
No weekends :
$("#datepicker").datepicker({ beforeShowDay: $.datepicker.noWeekends })
I cannot figure out how to combine both?
$.datepicker.regionalattribute attribute holds an array of localizations; which themselves are “presets” of the datepicker options. To append your options (overwriting if necessary):Demo (see example 5)