javascript语句
function Gets(myform)
{
theform.Submit.disabled=true;
if (theform.FileName.value =="")
{
alert ("ddddd");
theform.FileName.focus();
theform.Submit.disabled=false;
return (false);
}
if (window.confirm("fddgf"))
{ return true;
}
theform.Submit.disabled=false;
return false;
myform.action="Phone_GetData.Asp";
myform.submit();
}
<form name=theform method="Post" onSubmit="return submitit(this)">
<input type="Submit" name="Submit" onclick="Gets(theform)" >
</form>
点击提交后,表单无法正常提交