📅  最后修改于: 2022-03-11 15:03:56.933000             🧑  作者: Mango
// Just handle the form submission on the submit event, and return false:
$('#contactForm').submit(function () {
sendContactForm();
return false;
});
//You don't need any more the onclick event on the submit button: