我想在 asp:RequiredFieldValidator 显示错误时禁用表单提交按钮 请指教
最佳答案
if(Page_ClientValidate("SomeValidationGroup") == false)
document.getElementById("button1").disabled = true;
关于asp.net - 我想在 asp requiredFieldValidator 显示错误时禁用按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16038014/