📌  相关文章
📜  表单提交未重新加载 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:56.933000             🧑  作者: Mango

代码示例1
// 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: