<form id="form1" action="/xx/xx" name="form1" method="post">
修改为
<form id="form1" οnsubmit= "return false; " action="/xx/xx" name="form1" method="post">
<form id="form1" action="/xx/xx" name="form1" method="post">
修改为
<form id="form1" οnsubmit= "return false; " action="/xx/xx" name="form1" method="post">