1jQuery(document).ready(function($) { 2 'use strict'; 3 4 /* Contact form submit */ 5 $('#ir-contact-form').on('submit', function (e) { 6 e.preventDefault(); 7 8 var dis = $(this), 9 formData = dis.serialize(); 10 $.ajax({ 11 url: ifb_params.ajaxurl, 12 data: formData, 13 type: 'POST', 14 dataType: 'json', 15 beforeSend: function (xhr) { 16 $('.info-message').html(''); 17 dis.find('.contact-form-submit').val('Sending....'); 18 }, 19 success: function (data) { 20 dis.hide(); 21 $('.info-message').html('<p class="'+data.status+'">'+data.message+'</p>'); 22 } 23 }); 24 }); 25 26 /* subs form */ 27 $('#ifb-subs-form').on('submit',function(e){ 28 e.preventDefault(); 29 30 var dis = $(this), 31 formData = dis.serialize(); 32 $.ajax({ 33 url: ifb_params.ajaxurl, 34 data: formData, 35 type: 'POST', 36 dataType: 'json', 37 beforeSend: function (xhr) { 38 $('.info-message').html(''); 39 dis.find('.subs-form-submit').val('Sending....'); 40 }, 41 success: function (data) { 42 dis.hide(); 43 $('.info-message').html('<p class="'+data.status+'">'+data.message+'</p>'); 44 } 45 }); 46 }); 47});
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.