|
|
|
@ -46,7 +46,7 @@
|
|
|
|
|
<div id="adultBlock" style="display: none">
|
|
|
|
|
<p style="margin-top: 0;margin-bottom: 0;"><strong>Adults number (age ≥ 18 years old)</strong></p>
|
|
|
|
|
<div class="kids_age">
|
|
|
|
|
<select class="kids_number" id="adultNumber_65_plus" name="adult_18_plus" >
|
|
|
|
|
<select class="kids_number" id="adult_18_plus" name="adult_18_plus" >
|
|
|
|
|
<option value="0">0</option>
|
|
|
|
|
<option value="1">1</option>
|
|
|
|
|
<option value="2">2</option>
|
|
|
|
@ -656,10 +656,6 @@ function validateQuickInquiryForm() {
|
|
|
|
|
$('input[name="travel_group"]').each((i, groupEle) => {
|
|
|
|
|
$(groupEle).click(function (e) {
|
|
|
|
|
|
|
|
|
|
$teenagerNumberInput.val(0);
|
|
|
|
|
$childrenNumberInput.val(0);
|
|
|
|
|
$infantNumberInput.val(0);
|
|
|
|
|
|
|
|
|
|
var currentTarget = e.currentTarget;
|
|
|
|
|
if (currentTarget.id === 'Family' || currentTarget.id === 'Other' ) {
|
|
|
|
|
$adultBlock.show();
|
|
|
|
@ -669,10 +665,10 @@ function validateQuickInquiryForm() {
|
|
|
|
|
$childrenBlock.hide();
|
|
|
|
|
}
|
|
|
|
|
if (currentTarget.id === 'Couple') {
|
|
|
|
|
$adultNumberInput.val(2);
|
|
|
|
|
} else if (currentTarget.id === 'Solo') {
|
|
|
|
|
$adultNumberInput.val(1);
|
|
|
|
|
}
|
|
|
|
|
$('#adult_18_plus').val('2');
|
|
|
|
|
} else if (currentTarget.id === 'Solo') {
|
|
|
|
|
$('#adult_18_plus').val('1');
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|