Im having a bit of an issue with the jquery datepicker.
The datepicker is used to select a delivery date, with restrictions on what days can be picker from todays date.
I want to be able to set the minDate to be 48 hours in advance.
Unless today is the weekend, then first delivery is a Wednesday.
I'll attach the code I have below, but any help would be grateful.
var dt = new Date();
minDate:(dt.getDay() == 5 ? +5 : +3),