开发者

exclude weekends to be clickable on jQuery datepicker

开发者 https://www.devze.com 2023-01-23 04:29 出处:网络
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.

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

精彩评论

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

关注公众号