<form name=form1 onsubmit="return check()">
<a herf=# onclick="form1.submit()">提交</
a>