<input type="text" name="jieguo" size="20" value="123456">
<input type="hidden" name="list" value="100">
<input type="submit" value="提交" name="B1">
</form>
如果校验返回true,那么就可以form.submit()//这里如果得到这个form我想应该没有问题吧?document.all.formname 或者getElementById()等都可以的如果为false,那么就return false
因此,在submit按钮的onclick事件上应该这样写:onclick="return check()"
这里的check()只是我随便写的,你得改成你自己的一个方法名.