<form action="" method="post" name="form1" id="form1" onSubmit="tijiao()"> <input type="text" name="textfield" id="textfield"> <br> <input type="submit" name="button" id="button" value="提交"> </form> <script language=javascript> function tijiao() { document.form1.action="1.asp"; document.form1.submit(); document.form1.action="2.asp"; document.form1.submit(); } </script>