I use a datepicker for choosing an appointment day. I already set the date range to be only for the next month. That works fine. I want to exclude Saturdays and Sundays f
You can use noWeekends function to disable the weekend selection
$(function() { $( "#datepicker" ).datepicker({ beforeShowDay: $.datepicker.noWeekends }); });