Skip to main content
/* Process lead gen*/ $("#lead-gen").validate({ errorElement: "span", errorPlacement: function (error, element) { error.insertBefore(element.parent(".input-group, .checkbox, .radio-group")); }, errorLabelContainer: "#form-error", submitHandler: function submitForm() { $.ajax({ type: "POST", url: "https://www.athabascau.ca/scripts/university-relations/mainsite/programs/summary/master-of-business-administration/contact-form.php", dataType: "html", data: $("#lead-gen").serialize(), success: function (response) { $("form").fadeOut("slow", function () { $("#thank-you").fadeIn("fast"); }); }, error: function (exception) { console.log(exception); }, }); return false; }, });