1 2; /* Start:"a:4:{s:4:"full";s:75:"/local/components/hl/form.payv2/templates/.default/script.js?16783556081278";s:6:"source";s:60:"/local/components/hl/form.payv2/templates/.default/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 3$(document).ready(function() { 4 $('form[name="payment"]').validate({ 5 highlight: function( element ){ 6 $(element).parent().addClass('error'); 7 }, 8 unhighlight: function( element ){ 9 $(element).parent().removeClass('error'); 10 }, 11 submitHandler: function( form ){ 12 if( $('form[name="payment"]').valid() ){ 13 $(form).closest('.jqmWindow').addClass('success'); 14 $(form).find('button[type="submit"]').attr('disabled', 'disabled'); 15 16 $.ajax({ 17 type: "POST", 18 url: window.url+"/ajax.php", 19 data: $(form).serialize(), 20 dataType: "json", 21 success: function(data){ 22 if(!!data.price) 23 $('input[name="Subtotal_P"]', $(form)).val(data.price); 24 if(!!data.signature) 25 $('input[name="Signature"]', $(form)).val(data.signature); 26 27 if(!!data.Receipt) 28 $('input[name="Receipt"]', $(form)).val(data.Receipt); 29 if(!!data.ReceiptSignature) 30 $('input[name="ReceiptSignature"]', $(form)).val(data.ReceiptSignature); 31 32 setTimeout(function(){form.submit();}, 1); 33 } 34 }); 35 return false; 36 } 37 }, 38 errorPlacement: function( error, element ){ 39 error.insertBefore(element); 40 } 41 }); 42 $('form[name="payment"] input#Order_IDP').mask("У-000000-000"); 43}); 44/* End */ 45;; /* /local/components/hl/form.payv2/templates/.default/script.js?16783556081278*/
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.