form提交时不刷新页面的技巧

  1. <html>  
  2. <head>  
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf8">  
  4. <title>form提交表单</title>  
  5. </head>  
  6. <form  method="post" action="" target="hidden_frame">  
  7. <input type="submit" name="Submit" value="提交">  
  8. </form>  
  9. <iframe name='hidden_frame' id="hidden_frame" style="display:none"></iframe>   
  10. </body>  
  11. </html>  

猜你喜欢

转载自blog.csdn.net/Lambert0320/article/details/66974654