一个form两个提交按钮,分别提交到两页面
<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> 上一篇:target=_blank不符合标准? 下一篇:Google官方讲解NOINDEX、NOFOLLOW、NOARCHIVE及NOSNIPPET等Meta标签用法 更多相关文章
|
推荐文章
精彩文章
· HTML技巧集锦
|