不使用ajax,无刷新提交表单

<form action="form_action.asp" method="get" onsubmit"check_form()" target="newIframe">
</form>

form表单也有target属性,可以指向到一个iframe。

将iframe提交后通过回调函数进行操作。

原文地址:https://www.cnblogs.com/BigIdiot/p/3169180.html