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

有没有校验表单是否通过的方法? #10

Open
hasbug opened this issue Nov 18, 2016 · 0 comments
Open

有没有校验表单是否通过的方法? #10

hasbug opened this issue Nov 18, 2016 · 0 comments

Comments

@hasbug
Copy link

hasbug commented Nov 18, 2016

大体需求是这样,我在提交表单的时候想通过一个方法去查询表单是否通过验证,然后ajax进行提交(不一定是触发form的submit的方式)。
类似:
`var formValid=$('form').mvalidate({
type:1,
validateInSubmit:true
})

if(formValid.valid()){ //布尔值
//通过
}
`

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

1 participant