直接就可以提交两个表
<form name="form1" onSubmit="document.form2.submit()">
<input type="submit()" name="submit" value="提交">
</form>
<form name="form2" onSubmit="this.form">
....
</form>
<form name="form1" onSubmit="document.form2.submit()">
<input type="submit()" name="submit" value="提交">
</form>
<form name="form2" onSubmit="this.form">
....
</form>