html form表单提交后不刷新不跳转的实现方法
1<html>
2 <body>
3
4 <form action="" method="post" target="nm_iframe">
5 <input type="text" id="id_input_text" name="nm_input_text" />
6 <input type="submit" id="id_submit" name="nm_submit" value="提交" />
7 </form>
8
9 <iframe id="id_iframe" name="nm_iframe" style="display:none;"></iframe>
10
11 </body>
12</html>
除另有声明外,本博客文章均采用 知识共享 (Creative Commons) 署名 4.0 国际许可协议 进行许可。转载请注明原作者与文章出处。