1jQuery(document).ready(function() { 2 3 4 $('button[data-loading-text]') 5 .on('click', function() { 6 var btn = $(this); 7 btn.button('loading'); 8 setTimeout(function() { 9 btn.button('reset'); 10 }, 3000); 11 }); 12 13 14 $('#contactform').submit(function() { 15 16 var action = $(this).attr('action'); 17 18 $("#message").slideUp(750, function() { 19 $('#message').hide(); 20 $.post(action, { 21 name: $('#name').val(), 22 email: $('#email').val(), 23 subject: $('#subject').val(), 24 msg: $('#msg').val(), 25 }, 26 function(data) { 27 document.getElementById('message').innerHTML = data; 28 $('#message').slideDown('slow'); 29 $('#submit').removeAttr('disabled'); 30 if (data.match('success') != null) 31 $('#contactform').slideUp('slow'); 32 33 } 34 ); 35 36 }); 37 38 return false; 39 40 }); 41 42 $('#callback').submit(function() { 43 44 var action = $(this).attr('action'); 45 46 $("#error").slideUp(750, function() { 47 $('#error').hide(); 48 $.post(action, { 49 names: $('#names').val(), 50 emails: $('#emails').val(), 51 numbers: $('#numbers').val(), 52 }, 53 function(data) { 54 document.getElementById('error').innerHTML = data; 55 $('#error').slideDown('slow'); 56 $('#submit').removeAttr('disabled'); 57 if (data.match('success') != null) 58 $('#callback').slideUp('slow'); 59 60 } 61 ); 62 63 }); 64 65 return false; 66 67 }); 68 69});
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.