为了避免重复点击按钮提交,提交完毕就把按钮设置为disabled=true,但是现在用的Validator表单验证类,现在是有数据也无法提交<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<script src="js/checkform.js"></script>
<script language="javascript">
function submit3(obj){
    return Validator.Validate(document.getElementById('form1'),2);
    document.form1.Submit1.value='提交中......'
    document.form1.Submit1.disabled=true;
    obj.submit();
 
 
}
</script>
</script>
<body>
<form id="form1" name="form1" method="post" action="111.asp">
  <label>
  <input type="text" name="textfield" require="true" dataType="Integer" msg="请输入单价">
  </label>
  <label>
  <input type="button" name="Submit1" value="提交" onclick="submit3(this.form);"/>
  </label>
</form>
</body>
</html>