提交到多个asp页

类别:Asp 点击:0 评论:0 推荐:
提交到多个asp页
<html>
<head>
<script language="javascript">
function selectSubmit(thevalue){
if (thevalue.value=="提交1"){
document.forms[0].action="a.asp";
document.forms[0].submit();
}
if (thevalue.value=="提交2"){
document.forms[0].action="b.asp";
document.forms[0].submit();
}
}
</script>
</head>
<body>
<form>
<input name=submit1 type=button value="提交1" onclick="selectSubmit(this)">
<input name=submit2 type=button value="提交2" onclick="selectSubmit(this)">
</form>
</body>
</html>

本文地址:http://com.8s8s.com/it/it9453.htm