I have to disable the dates between today's date to selected(set) date. Here is my code
$(function () {
$("#departure").datepicker({
dateFormat: "dd/mm/yy",
changeMonth: true,
changeYear: true,
maxDate: "+5",
minDate: -0
});
$("#departure").datepicker("setDate", "5");
});
<input id="departure" />
here is my screenshot:-
Now I want to diable date 5 6 7 means 3 days after today. please help me.....
Hello I got my answer perfectly, But one issue came if in 5 days,if there is weekends it should be skip so what to do for that any body knows suppose today is 11-6-2013 then 15 and 16 should be skip and 19th date would come.