更新时间:2023-01-08 13:37:42
您的成功回调语法不正确.应该是:
Your success callback syntax is incorrect. It should rather be:
$('#theForm').ajaxForm(function() {
window.location.href = "/path/to/thankyoupage";
});
另外,注意是window.location.href
而不是location.window.href