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
The datepicker has this functionality built in!
$( "#datepicker" ).datepicker({ beforeShowDay: $.datepicker.noWeekends });
http://api.jqueryui.com/datepicker/#utility-noWeekends