<form action="a.asp" method="post" id="form1">
<input type="text" name="world" value="hello" />
<input type="submit" value="submit" />
<input type="button" value="sumbit2" onclick="document.getElementById('form1').action='b.asp';document.getElementById('form1').submit();" />
</form>
那就分开写两个按钮的点击事件了。。。改变form的action