exclude weekends to be clickable on jQuery datepicker
I would like to prevent the user from cli开发者_运维百科cking on saturdays/sundays (week-ends) when he selects a date using the jQuery UI datepicker widget.
Is there a way to accomplish this? If not, which are the alternatives ways to accomplish this?
$("#datepicker").datepicker({ beforeShowDay: $.datepicker.noWeekends });
精彩评论