j-sarasins.com Open in urlscan Pro
109.106.251.107  Public Scan

Submitted URL: http://j-sarasins.com/assets/js/contact-form-script.js
Effective URL: https://j-sarasins.com/assets/js/contact-form-script.js
Submission: On October 29 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

!function(e){"use strict";function t(){e("#contactForm").removeClass().addClass("shake animated").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){e(this).removeClass()})}function a(t,a){if(t)var n="h4 text-left tada animated text-success";else n="h4 text-left text-danger";e("#msgSubmit").removeClass().addClass(n).text(a)}e("#contactForm").validator().on("submit",function(n){var s,i,o,m,r;n.isDefaultPrevented()?(t(),a(!1,"Did you fill in the form properly?")):(n.preventDefault(),s=e("#name").val(),i=e("#email").val(),o=e("#msg_subject").val(),m=e("#phone_number").val(),r=e("#message").val(),e.ajax({type:"POST",url:"assets/php/form-process.php",data:"name="+s+"&email="+i+"&phone_number="+m+"&msg_subject="+o+"&message="+r,success:function(n){"success"==n?(e("#contactForm")[0].reset(),a(!0,"Message Submitted!")):(t(),a(!1,n))}}))})}(jQuery);