We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在之前版本中,如果表单中没有远程验证,可以直接使用$(“#form”).isValid()来判断表单是否验证通过。但是,如果表单中有远程验证,就必须使用回调方式了。
$(“#form”).isValid()
如果是回调方式,就维持jQuery对象链
example:
$('#formId').isValid(function(v){ console.log(v ? '表单验证通过' : '表单验证不通过'); }).find("#email").isValid(function(v){ console.log(v ? '邮箱验证通过' : '邮箱验证不通过'); });
The text was updated successfully, but these errors were encountered:
e714292
niceue
No branches or pull requests
在之前版本中,如果表单中没有远程验证,可以直接使用
$(“#form”).isValid()
来判断表单是否验证通过。但是,如果表单中有远程验证,就必须使用回调方式了。如果是回调方式,就维持jQuery对象链
example:
The text was updated successfully, but these errors were encountered: