原文:Form 提交表 單頁面刷新不跳轉

.提交form,action 提交數據,但頁面不跳轉,可以使用Iframe簡單方法 .注意 lt form action hello.php method post target id iframe gt lt from gt 中的target 一定是你要指定要顯示返回結果的 lt iframe id id iframe name id iframe style gt lt iframe gt ...

2016-03-24 14:39 0 7113 推薦指數:

查看詳情

Form之action提交刷新不跳轉

<div class="file-box"> <form action="/File/fileUpLoad" id="form1" name="form1" method="post" target="id_iframe"> <input type="text ...

Mon Jan 18 19:03:00 CST 2016 0 2444
基於form表單submit提交不跳轉

方法一:target <html> <body> <form action="" method="post" target="nm_iframe"> <input type="text" id="id_input_text" name ...

Fri Nov 09 19:53:00 CST 2018 0 740
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM