1$(document).ready(function(){ 2 "use strict"; 3 var result; 4 $("#ajax-contact-form").submit(function(){ 5 var str = $(this).serialize(); 6 $.ajax( { type: "POST", url: "contact.php", data: str, success: function(msg){ 7 if(msg == 'OK') // Message Sent? Show the 'Thank You' message and hide the form 8 { result = '<div class="notification_ok">Your message has been sent. Thank you!<br> <a href="#" onclick="freset();return false;">send another mail</a></div>'; $("#fields").hide(); } 9 else 10 { result = msg; } 11 $("#note").html(result); 12 } 13 }); 14 return false; 15 }); 16}); 17 18function freset(){ 19 $("#note").html(''); 20 document.getElementById('ajax-contact-form').reset(); 21 $("#fields").show(); 22};
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.