开发者

Good resources for coding forms with jQuery [closed]

开发者 https://www.devze.com 2023-02-09 16:06 出处:网络
As it currently stands, this 开发者_开发百科question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely so
As it currently stands, this 开发者_开发百科question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I've been trolling around for a couple days now looking for some good resources on form validation and submission with jQuery. Of course, I've been able to find some specific blog posts on sites like NetTuts and ThemeForest, but I'm looking for best practice information.

What is the best way(s) to validate user form information? Plugins? From scratch?

Again, I'm looking for best practices, or accepted, methods of validation and submission from the wider community. If you have any specific links or articles, pass it on for us all to peruse.

Thanks!


One of my favorite jQuery form validation plugins has to be Happy.js. It's very lightweight and extensible, and requires very little effort to get working.


The standard way to validate with jQuery is to just use the jQuery validation plugin. It's widely used, regularly maintained, easy to use and mature. There's no point in rewriting something that's already been done. You can obviously use this plugin to control form submission.

0

精彩评论

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