提交到多个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>