1(function($){"use strict";$("#contactForm").validator().on("submit",function(event){if(event.isDefaultPrevented()){formError();submitMSG(false,"Did you fill in the form properly?");} 2else{event.preventDefault();submitForm();}});function submitForm(){var name=$("#name").val();var email=$("#email").val();var msg_subject=$("#msg_subject").val();var phone_number=$("#phone_number").val();var message=$("#message").val();var gridCheck=$("#gridCheck").val();$.ajax({type:"POST",url:"assets/php/form-process.php",data:"name="+name+"&email="+email+"&msg_subject="+msg_subject+"&phone_number="+phone_number+"&message="+message+"&gridCheck="+gridCheck,success:function(statustxt){if(statustxt=="success"){formSuccess();} 3else{formError();submitMSG(false,statustxt);}}});} 4function formSuccess(){$("#contactForm")[0].reset();submitMSG(true,"Message Submitted!")} 5function formError(){$("#contactForm").removeClass().addClass('shake animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){$(this).removeClass();});} 6function submitMSG(valid,msg){if(valid){var msgClasses="h4 tada animated text-success";} 7else{var msgClasses="h4 text-danger";} 8$("#msgSubmit").removeClass().addClass(msgClasses).text(msg);}}(jQuery));
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.