一个form两个提交按钮,分别提交到两页面
- <script>
- function save(){
- document.form1.action="one.php";
- document.form1.submit();
- }
- function send(){
- document.form1.action="two.php";
- document.form1.submit();
- }
- </script>
- <form name="form1">
- <input type="button" value="发送" onclick="send();">
- <input type="button" value="保存" onclick="save();">
- </form>