1$(function () { 2 3 window.verifyRecaptchaCallback = function (response) { 4 $('input[data-recaptcha]').val(response).trigger('change'); 5 } 6 7 window.expiredRecaptchaCallback = function () { 8 $('input[data-recaptcha]').val("").trigger('change'); 9 } 10 11 $('#contact-form').on('submit', function (e) { 12 e.preventDefault(); 13 $('#contact-form .messages').html(''); 14 var url = "contact.php"; 15 16 $.ajax({ 17 type: "POST", 18 url: url, 19 data: $(this).serialize(), 20 success: function (data) { 21 console.log(data); 22 var messageAlert = 'alert-' + data.type; 23 var messageText = data.message; 24 25 var alertBox = '<div class="alert ' + messageAlert + '">' + messageText + '</div>'; 26 if (messageAlert && messageText) { 27 $('#contact-form').find('.messages').html(alertBox); 28 $('#contact-form')[0].reset(); 29 grecaptcha.reset(); 30 } 31 } 32 }); 33 return false; 34 }) 35});
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.