开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜