1$(document).ready(function() { 2 function checkServicePointEntryOnClick(e) { 3 $("[name^='delivery_option[']").each(function (){ 4 if ($(this).prop('checked')) { 5 var carrierId = $(this).attr('id').replace("delivery_option_", ""); 6 var spanName = "#logiflexshipping_service_point_" + carrierId; 7 $(spanName).each(function() { 8 if ($(this).html() == '') { 9 e.preventDefault(); 10 $("#logiflexshipping_alert_p" + carrierId + " > .missing").show(); 11 $("#logiflexshipping_alert_p" + carrierId).show(); 12 } 13 }); 14 } 15 }) 16 } 17 18 $("[name='confirmDeliveryOption']").click(checkServicePointEntryOnClick); 19 $("#payment-confirmation button").click(checkServicePointEntryOnClick); 20});
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.