如果是提交到不同的页面,我只会这么做了:
<html>
<head>
<script type="text/javascript"></script>
</head>
<BODY>
<form method="post">
<input type="button" onclick="this.form.action='a.html';this.form.submit()" value='a.html'>
<input type="button" onclick="this.form.action='b.html';this.form.submit()" value='b.html'>
</form></BODY>
</html>