From: Anthony Talarico Date: Mon, 9 Nov 2015 16:08:12 +0000 (-0500) Subject: Added jquery calendar functionality X-Git-Tag: v1.0.0^2~342 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=43260249b60a639814d963653a23cb0e62c5e0cf;p=WP-Themes%2Fstaffords.git Added jquery calendar functionality --- diff --git a/js/app.js b/js/app.js index 9ba400c..f1d7c1d 100644 --- a/js/app.js +++ b/js/app.js @@ -40,4 +40,11 @@ $(document).ready(function () { }); //////////////////////////////////////////////////////// $("#arrive").datepicker(); + $("#depart").datepicker(); + $("#arriveCal").click(function () { + $("#arrive").datepicker("show"); + }); + $("#departCal").click(function () { + $("#depart").datepicker("show"); + }); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 6d3a2ee..23e8801 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -31,4 +31,11 @@ $(document).ready(function () { }); //////////////////////////////////////////////////////// $("#arrive").datepicker(); + $("#depart").datepicker(); + $("#arriveCal").click(function () { + $("#arrive").datepicker("show"); + }); + $("#departCal").click(function () { + $("#depart").datepicker("show"); + }); }); diff --git a/parts/reservation-form.php b/parts/reservation-form.php index ea65c89..0910170 100644 --- a/parts/reservation-form.php +++ b/parts/reservation-form.php @@ -7,10 +7,10 @@
- +
- +