$("#head-img").remove();
}
- // save guest input
-
+
// date picker images for each calendar
$("#cal1").click(function () {
$("#date1").datepicker("show");
});*/
// $("#dateOff1").val("Arrive");
// $("#dateOff2").val("Depart");
- // restrict arrival date //////////////////////////////////////////////
+
+
+ // restrict arrival date off canvas //////////////////////////////////////////////
$(document).on('change', '#dateOff1', function () {
currentDate = $("#dateOff1").val();
currentDate = new Date(currentDate);
y = currentDate.getFullYear();
requiredDate = y + '-' + m + '-' + d;
$("#dateOff2").val(requiredDate);
+
}
});
y = currentDate.getFullYear();
requiredDate = y + '-' + m + '-' + d;
if ($("#dateOff2").val() < $('#dateOff2').attr("min")) {
- // $("#dateOff2").val(requiredDate);
+ $("#dateOff2").val(requiredDate);
}
});
$("#date1").datepicker({
$("#head-img").remove();
}
- // save guest input
-
+
// date picker images for each calendar
$("#cal1").click(function () {
$("#date1").datepicker("show");
});*/
// $("#dateOff1").val("Arrive");
// $("#dateOff2").val("Depart");
- // restrict arrival date //////////////////////////////////////////////
+
+
+ // restrict arrival date off canvas //////////////////////////////////////////////
$(document).on('change', '#dateOff1', function () {
currentDate = $("#dateOff1").val();
currentDate = new Date(currentDate);
y = currentDate.getFullYear();
requiredDate = y + '-' + m + '-' + d;
$("#dateOff2").val(requiredDate);
+
}
});
y = currentDate.getFullYear();
requiredDate = y + '-' + m + '-' + d;
if ($("#dateOff2").val() < $('#dateOff2').attr("min")) {
- // $("#dateOff2").val(requiredDate);
+ $("#dateOff2").val(requiredDate);
}
});
$("#date1").datepicker({