jQuery表单验证插件全攻略

jQuery Validation Plugin

        jQuery Validation Plugin 是一个简单易用的  客户端表单验证工具,支持高度自定义。它提供多种内置验证方法(如:URL和邮箱验证)及多语言错误提示,适用于新项目和现有系统集成。可通过Bower、NuGet或NPM安装,也支持CDN直接引用。依赖jQuery 1.7.2+或3.1.1+版本。

1、jQuery Validation Plugin

        This jQuery plugin makes simple clientside form validation easy, whilst still offering plenty of customization options. It makes a good choice if you’re building something new from scratch, but also when you’re trying to integrate something into an existing application with lots of existing markup. The plugin comes bundled with a useful set of validation methods, including URL and email validation, while providing an API to write your own methods. All bundled methods come with default error messages in english and translations into 37 other languages.

Current version:  1.19.5

License: MIT

Files:

2、Installation via Package Managers

  • Bower: bower install jquery-validation
  • NuGet: Install-Package jQuery.Validation
  • NPM: npm i jquery-validation

Latest files on jsDelivr CDN (hotlinking welcome):

Latest files on cdnjs CDN (hotlinking welcome):

3、Dependencies

Required

4、Support

  • Please post questions to the official using jQuery Plugins Forum, tagging your question with (at least) "validate". Keep your question short and succinct and provide code when possible; a testpage makes it much more likely that you get an useful answer in a shorter time.

  • Please post bug reports and other contributions (enhancements, features, eg. new validation methods) to the GitHub issue tracker


参考:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

狂龙骄子

独码乐,不如众码乐,乐享其中

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值