Skip to main content
/*Web feedback form*/ $("#website-feedback").validate({ errorElement: "span", errorPlacement: function (error, element) { error.insertBefore(element.parent('.input-group, .checkbox, .radio-group')); }, errorLabelContainer: "#form-error", submitHandler: function submitForm() { $.ajax({ type: 'GET', url: 'https://www.athabascau.ca/scripts/university-relations/mainsite/feedback-sendmail.php', dataType: 'html', data: $("#website-feedback").serialize(), success: function (response) { $("form").fadeOut("slow", function () { $("#thank-you").fadeIn("fast"); }); }, error: function (exception) { console.log(exception); } }); return false; }, });