Jquery DatePicker
Jquery DatePicker
I have three date variables that I am setting
var startDate = (today.getMonth() + 1) + '/' + (today.getDate() + 5) + '/' + today.getFullYear();
var otherDate1 = (today.getMonth() + 1) + '/' + (today.getDate() + 7) + '/' + today.getFullYear();
var otherDate2 = (today.getMonth() + 1) + '/' + (today.getDate() + 10) + '/' + today.getFullYear();
The Start Date will be the Min date
beforeShowDay: $.datepicker.noWeekends,
minDate: startDate
The Issue is I need to have the startDate to have a non weekend date value,
for example if today is 2/3/2015 I need the startDate value to be 5 Business Days only in the Future.
The StartDate needs to be dynamically determined before I even choose a date.
Same with the other dates above.
I cannot use minDate : 5 becuase I don't know what the mindate value is, becuase I am putting this 5 Business Days only in the future.
Weekends are blocked out. but the date variables are landing on weekends and I need them to skip over the weekend dates.