求救-关于不同按钮提交不同的页面!
代码:
<form name=form1 method="post">
<input type=checkbox name="chk">
<input type=checkbox name="chk">
<input type=checkbox name="chk">
<input type="submit" name=sub1>
<input type="submit" name=sub2>
</form>
请问,如果按提交按钮‘sub1’提交到1.asp;按提交按钮‘sub2’提交到2.asp
相应值也传过去。该如何实现?