js实现表单的提交
<form action="" method="post" name="form">
<tr>
<td><input type="button" value="跳转到a.jsp" οnclick="a()" class="botton"/></td>
<td><input type="button" value="跳转到b.jsp" οnclick="b()" class="botton"/></td>
</tr>
</form>
<script type="text/javascript">
//把表单的action改为a.jsp
function Two() {
document.form.action = "a.jsp";
document.form.submit();
}
//把表单的action改为b.jsp
function Three() {
document.form.action = "b.jsp";
document.form.submit();
}
</script>