<script> function save(){ document.form1.action="right.asp"; document.form1.submit(); } function send(){ document.form1.action="sendtaskook.asp"; document.form1.submit(); } </script> <form name="form1"> <input type="button" name="btn1" value="发送" onclick="send();"> <input type="button" name="btn2" value="保存" onclick="save();"> </form>