I would like to prevent the user from clicking 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 });
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With