Skip to content
New issue

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

为什么validate表单验证,button type=submit才会执行校验 #43

Open
zzitbar opened this issue Nov 20, 2015 · 1 comment
Open

Comments

@zzitbar
Copy link

zzitbar commented Nov 20, 2015

为什么我这样注册

function validate() {
$('#userRegisterForm').validate()}
我这样用不会执行校验?

难道只有button type=submit才会执行校验?

@Daniel-yim
Copy link

我也正在找这个问题,如果是异步ajax操作,如何调用验证?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants