Html:一个form两个提交按钮,分别提交到两页面

2016-02-19 21:33 286 1 收藏

下面是个超简单的Html:一个form两个提交按钮,分别提交到两页面教程,图老师小编精心挑选推荐,大家行行好,多给几个赞吧,小编吐血跪求~

【 tulaoshi.com - Web开发 】

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

来源:https://www.tulaoshi.com/n/20160219/1626479.html

延伸阅读
标签: Web开发
1、Iframe: iframe src="top1.html" frameBorder="0" width="900" scrolling="no" height="90"/iframe 2、Behavior的download方式 span id=show/span IE:Download ID="oDownload" STYLE="behavior:url(#default#download)" / script function onDownloadDone(downDate){ showImport.innerHTML=downDate } oDownload.startDownload('b...
标签: Web开发
问题:在HTML中如何写跳转到某文件? HTML中我希望按了提交后转到aaa.asp这个文件,action这里应该怎么写? formform id="form" name="form" method="post" action="" input type="submit" name="Submit" value="提交" / 终极讨厌解答: window.location.reload(&quo...
标签: ASP
  一、 <% Response.Buffer = True % <% ' Setup the variables necessary to accomplish the task Dim TimerStart, TimerEnd, TimerNow, TimerWait ' How many seconds do you want them to wait... TimerWait = 5 ' Setup and start the timers TimerNow = Timer TimerStart = TimerNow TimerEnd = TimerStart + TimerWait ' Ke...
让一个iPhone接收两个电话卡信息 准备工作 两部iPhone 两个电话号码 信息Apple ID为同一个账号 系统需要升级至iOS8 设备情况 【金色为185】【银色为132】 均为iOS8.1.2系统 教程步骤 下面我们分别以一个132的联通号和185的联通号为大家做个示例,如果你想让185号码的机子接收132的信息...
标签: Web开发
1、Iframe: iframe src="top1.html" frameBorder="0" width="900" scrolling="no" height="90"/iframe 2、Behavior的download方式 span id=show/span IE:Download ID="oDownload" STYLE="behavior:url(#default#download)" / script function onDownloadDone(downDate){ showImport.innerHTML=downDate } oDownload.startDownload('b...

经验教程

134

收藏

47
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部