讓表單提交後頁面不跳轉

很多人說用ajax,我不懂,找了個簡單的,代碼如下:

<!--用-->
<iframe width="0" height="0" name="actionframe"></iframe>
<!--然后给表单设置target属性:-->
<form action="..." target="actionframe">....</form> 
原文地址:https://www.cnblogs.com/wqing/p/2413983.html