Friday, April 20, 2012

jQuery datepicker multiple parameters

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 })


How can I combine both ? Cannot figure it out. Thanks!





No comments:

Post a Comment