submit提交表单后,不刷新当前页面

<form method="get" target="test" action="a.html">
<input type=""text />

<input type="submit" />

</form>



<iframe name="test" style="display:none"></iframe>

使用target指向指向隐藏的表单来提交就不回刷新了其他还是一样

原文地址:https://www.cnblogs.com/lichuntian/p/4877086.html