jQuery(document).ready(function(){ jQuery.ajax({ type: "POST", url: "https://rentals.handlconsulting.biz/dev/pivrent-get-scaffold.php?site_index=5", data: 'site_index=5', success: function(msg){ jQuery('#pivrent-wrapper').html(msg); jQuery("#tabs").tabs(); jQuery('#start_datetime').datepicker(); jQuery('#end_datetime').datepicker(); jQuery('#start_datetime').change(function (){ check_dates(); }); jQuery('#end_datetime').change(function (){ check_dates(); }); enable_disable_item_list(); jQuery('#email').keyup(function(){ check_email(); }); jQuery('input[type=radio][name=seapines]').change(function() { if (this.value == 'no') { sp_checked = false; jQuery('#seapines-selected-note').html(''); } else if (this.value == 'yes') { sp_checked = true; jQuery('#seapines-selected-note').html('Sea Pines charges a $1.00 gate fee per bike for entry into the plantation. This charge will be added to your order for all bike items - this charge does not apply to any non-bike rental items.'); } sp_selected=true; adjust_prices(); check_dates(); }); check_dates(); monitor_cc_info_input(); check_reservation_form_status(); check_payment_method_form_status(); setTimeout('get_prices(0,0);',2000); jQuery('.item-submit a').click(function(){ jQuery(this).parent().parent().submit(); }); jQuery('.item-detail-wrapper form').submit(function(){ modify_cart(jQuery(this).attr('name'), jQuery(this).children(".item-qty").children('input.qty').val()); }); } }); })