js页面reload问题

form表单提交时,action="url" method="get/post"

当ajax提交表单时,原本的ajax post提交  success后  不能执行window.location.href="url"  或windows.location.reload();

原因是 form的method 必须为post 才能reload到post页面。

原文地址:https://www.cnblogs.com/lansefengmeng/p/5283119.html