Datepicker - How do I restrict the months shown with maxDate value in place.
I currently have my datepicker to allow to pick from current year to 2017...ie)
$("#datearrival").datepicker({minDate: 0, maxDate: "+5Y", changeMonth: true, changeYear: true});
$("#datedeparture").datepicker({minDate: 0, maxDate: "+5Y", changeMonth: true, changeYear: true});
If i want to also only have certain months shown in each of the +5 years....how can i achieve this?
Thanks
D.