$("#res-tab-open").attr("id", "res-tab");
}
});
- var start, end, arrival, currentDate, requiredDate, minDays, departure, stay, d, m, y, bayView = 'vD4ZpIFk4%2b7FyPsaBnkCqP1cBHWnJili9k5D83MqJq4%3d&',
+ var start, end, arrival, currentDate, requiredDate, minDays, departure, stay, d, dd, m, y, bayView = 'vD4ZpIFk4%2b7FyPsaBnkCqP1cBHWnJili9k5D83MqJq4%3d&',
crookedRiver = 'ZhWXD46i2%2fq319vcR%2fcw69rZvA2bz%2fttOOxO9t1%2fBJ0%3d&',
adults,
kids,
currentDate = new Date(currentDate.getUTCFullYear(), currentDate.getUTCMonth(), currentDate.getUTCDate());
currentDate.setDate(currentDate.getDate());
d = currentDate.getDate();
+ dd = currentDate.getDate() + 1;
if (d <= 9) {
d = '0' + d;
}
}
y = currentDate.getFullYear();
requiredDate = y + '-' + m + '-' + d;
+ minDays = y + '-' + m + '-' + dd;
+ $("#departOff").attr("min", minDays);
start = "arrival_date=" + y + '-' + m + '-' + d + '&';
if (requiredDate < $('#arriveOff').attr("min")) {
minDays = $('#arriveOff').attr("min");
}
y = currentDate.getFullYear();
requiredDate = y + '-' + m + '-' + d;
+
arrival = d + '-' + m + '-' + y;
arrival.toString();
arrival = arrival.replace(/\//g, "");
$("#res-tab-open").attr("id", "res-tab");
}
});
- var start, end, arrival, currentDate, requiredDate, minDays, departure, stay, d, m, y, bayView = 'vD4ZpIFk4%2b7FyPsaBnkCqP1cBHWnJili9k5D83MqJq4%3d&',
+ var start, end, arrival, currentDate, requiredDate, minDays, departure, stay, d, dd, m, y, bayView = 'vD4ZpIFk4%2b7FyPsaBnkCqP1cBHWnJili9k5D83MqJq4%3d&',
crookedRiver = 'ZhWXD46i2%2fq319vcR%2fcw69rZvA2bz%2fttOOxO9t1%2fBJ0%3d&',
adults,
kids,
currentDate = new Date(currentDate.getUTCFullYear(), currentDate.getUTCMonth(), currentDate.getUTCDate());
currentDate.setDate(currentDate.getDate());
d = currentDate.getDate();
+ dd = currentDate.getDate() + 1;
if (d <= 9) {
d = '0' + d;
}
}
y = currentDate.getFullYear();
requiredDate = y + '-' + m + '-' + d;
+ minDays = y + '-' + m + '-' + dd;
+ $("#departOff").attr("min", minDays);
start = "arrival_date=" + y + '-' + m + '-' + d + '&';
if (requiredDate < $('#arriveOff').attr("min")) {
minDays = $('#arriveOff').attr("min");
}
y = currentDate.getFullYear();
requiredDate = y + '-' + m + '-' + d;
+
arrival = d + '-' + m + '-' + y;
arrival.toString();
arrival = arrival.replace(/\//g, "");