PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins
/
sf-booking
/
frontend
/
modules
/
book-now
/
resources
/***************************************************************************** * * copyright(c) - aonetheme.com - Service Finder Team * More Info: http://aonetheme.com/ * Coder: Service Finder Team * Email: contact@aonetheme.com * ******************************************************************************/ // When the browser is ready... jQuery(function() { 'use strict'; jQuery('body').on('click', '.sf-couponcode-close', function(){ jQuery('#addcouponcode,.sf-couponcode-popup-overlay').fadeOut("slow"); }) jQuery('body').on('click', 'input[name="service_perform_at"]', function(){ var service_perform_at = jQuery(this).val(); if(service_perform_at == 'customer_location') { jQuery('#bookingcustomerlocation').show(); jQuery('#bookingproviderlocation').hide(); jQuery('#bookingcustomerzipcode').removeClass('booking-zipcode-input'); }else{ jQuery('#bookingcustomerlocation').hide(); jQuery('#bookingproviderlocation').show(); jQuery('#bookingcustomerzipcode').addClass('booking-zipcode-input'); } }) /*Display Services*/ jQuery('form.book-now').on('change', 'select[name="choose_customer"]', function(){ var customerid = jQuery(this).val(); var data = { "action": "load_customer_data", "customerid": customerid, }; var formdata = jQuery.param(data); jQuery.ajax({ type: 'POST', url: ajaxurl, data: formdata, dataType: "json", beforeSend: function() { jQuery('.loading-area').show(); }, success:function (data, textStatus) { jQuery('.loading-area').hide(); if(data != null){ jQuery('input[name="location"]').val(data['address']); jQuery('input[name="zipcode"]').val(data['zipcode']); jQuery('input[name="firstname"]').val(data['fname']); jQuery('input[name="lastname"]').val(data['lname']); jQuery('input[name="email"]').val(data['email']); jQuery('input[name="phone"]').val(data['phone']); jQuery('input[name="phone2"]').val(data['phone2']); jQuery('input[name="address"]').val(data['address']); jQuery('input[name="apt"]').val(data['apt']); jQuery('input[name="city"]').val(data['city']); jQuery('input[name="state"]').val(data['state']); jQuery('input[name="country"]').val(data['country']); } } }); }); });
[+]
..
[-] booking-form-multidate-v1.js
[edit]
[-] booking-form-free-v1.js
[edit]
[-] calendar.css
[edit]
[-] booking-form-multidate-v2.js
[edit]
[-] booking-form-free-v2.js
[edit]
[-] booking.js
[edit]
[-] booking-form-free-multidate-v2.js
[edit]
[-] booking-form-free-multidate-v1.js
[edit]
[-] booking-form-v1.js
[edit]
[-] booking-form-v2.js
[edit]