开发者

jQuery - Form Validation blur

开发者 https://www.devze.com 2023-01-20 00:29 出处:网络
I\'m curious what the best method of web 2.0 form validation is... I\'m looking into: http://docs.jquery.com/Plugins/validation

I'm curious what the best method of web 2.0 form validation is...

I'm looking into: http://docs.jquery.com/Plugins/validation

And the claim to fame here is that it doesn't bother the user until he submits the form. However,开发者_StackOverflow社区 that's what I want to happen. I don't want the user going through the entire form before he's informed that his email address is incorrectly formatted.

I've got several form within my project and I really want to use jquery to the best of it's ability... and so I don't have to keep writing code.


It's probably a matter of developer preference, But I fire my evaluations on blur() when I need to call attention to it immediately.

0

精彩评论

暂无评论...
验证码 换一张
取 消