1jQuery.noConflict(); 2jQuery(document).ready(function () { 3 jQuery('#time').attr("disabled", true); // timeslot disabled 4 jQuery('#sr_price').attr("disabled", true); // price disabled 5 6 jQuery('#aptcal').change(function () { 7 jQuery('#time').attr("disabled", false); // timeslot enabled 8 // timeslot enabled 9 var id = jQuery('#service_select').val() 10 var ids = jQuery('#aptcal').val() 11// alert(ids); 12 var data = { 13 action: 'master_response', 14 id: id, 15 ids: ids 16 }; 17 18 jQuery.post(script_call.ajaxurl, data, function (response) { 19 if (response) { 20 jQuery("#time").html(''); 21 jQuery("#time").html(response); 22 //console.log(response); 23 } else { 24 jQuery("#time").html(''); 25 jQuery("#time").html("<option value='notavi'>Not Available</option>"); 26 jQuery('#sr_price').attr("disabled", true); 27 } 28 }); 29 30 }); 31 jQuery('#service_select').change(function () { 32 var $dates = jQuery('#aptcal').datepicker(); 33 $dates.datepicker('setDate', null); 34 35 jQuery("#time").html('<option value="notavi">Select Time</option>'); 36 37 var price = jQuery('#service_select').val() 38 jQuery('#aptcal').attr("disabled", false); //jquery time slot enabled 39 40 var data = { 41 action: 'master_response', 42 price: price 43 }; 44 45 jQuery.post(script_call.ajaxurl, data, function (response) { 46 47 if (response) { 48 jQuery("#price").html(''); 49 jQuery("#price").html(response); 50 jQuery('#sr_price').attr("disabled", true); // disabled sr_price 51 } else { 52 alert("Error"); 53 } 54 //return false; 55 }); 56 }); 57}); 58
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.