通过 input button 而不是input submit提交。
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript" src="../js/jquery.js"></script> <script type="text/javascript"> $(function(){ $('input:button').click(function(){ $('#form1').submit(); }); }); </script> </head> <body> <form id="form1"> <input type="text" name="info" placeholder="Input info..."/> <input type="button" value="Submit Form"/> </form> </body> </html>