From e743daaff029a41a281aad55c37d6a703d28caab Mon Sep 17 00:00:00 2001 From: candice Date: Thu, 25 May 2023 15:42:09 +0800 Subject: [PATCH] 11 --- .../views/mobile_first/ah-info-page-form.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/application/views/mobile_first/ah-info-page-form.php b/application/views/mobile_first/ah-info-page-form.php index 08a3d4b7..b922e213 100644 --- a/application/views/mobile_first/ah-info-page-form.php +++ b/application/views/mobile_first/ah-info-page-form.php @@ -714,6 +714,24 @@ Our must-dos/must-sees are…" style="height:90px;"> } }); }) + + // Trip Length + $('#tripLengthPlus').click(function () { + tripLength++; + $('#tripLengthNumber').val(tripLength); + }); + + $('#tripLengthMinus').click(function () { + if (tripLength > 1) { + tripLength--; + $('#tripLengthNumber').val(tripLength); + } + }); + $("#Date_Start").datepicker({ + format: 'mm/dd/yyyy', + autoclose: true, + startDate: '+2d' + });