<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript" type="text/javascript">
function a()
{
fr1.action="a.php";
fr1.submit();
}
function b()
{
fr1.action="b.php";
fr1.submit();
}
</script>
</head>
<body>
<form name="fr1" method="post">
<input type="text" name="name[]" />
<input type="button" οnclick="a()" value="提交a"/>
</form>
<form name="fr2" method="post">
<input type="button" οnclick="b()" value="提交b" />
</form>
</body>
</html>