[jQuery Validation Plugin](http://jqueryvalidation.org/) - Form validation made easy
================================
[![Build Status](https://secure.travis-ci.org/jzaefferer/jquery-validation.png)](http://travis-ci.org/jzaefferer/jquery-validation)
[![devDependency Status](https://david-dm.org/jzaefferer/jquery-validation/dev-status.png?theme=shields.io)](https://david-dm.org/jzaefferer/jquery-validation#info=devDependencies)
The jQuery Validation Plugin provides drop-in validation for your existing forms, while making all kinds of customizations to fit your application really easy.
## [Help the project](http://pledgie.com/campaigns/18159)
[![Help the project](http://www.pledgie.com/campaigns/18159.png?skin_name=chrome)](http://pledgie.com/campaigns/18159)
This project is looking for help! [You can donate to the ongoing pledgie campaign](http://pledgie.com/campaigns/18159)
and help spread the word. If you've used the plugin, or plan to use, consider a donation - any amount will help.
You can find the plan for how to spend the money on the [pledgie page](http://pledgie.com/campaigns/18159).
## Getting Started
### Downloading the prebuilt files
Prebuilt files can be downloaded from http://jqueryvalidation.org/
### Downloading the latest changes
The unreleased development files can be obtained by:
1. [Downloading](https://github.com/jzaefferer/jquery-validation/archive/master.zip) or Forking this repository
2. [Setup the build](CONTRIBUTING.md#build-setup)
3. Run `grunt` to create the built files in the "dist" directory
### Including it on your page
Include jQuery and the plugin on a page. Then select a form to validate and call the `validate` method.
```html
<form>
<input required>
</form>
<script src="jquery.js"></script>
<script src="jquery.validate.js"></script>
<script>
$("form").validate();
</script>
```
Alternatively include jQuery and the plugin via requirejs in your module.
```js
define(["jquery", "jquery.validate"], function( $ ) {
$("form").validate();
});
```
For more information on how to setup a rules and customizations, [check the documentation](http://jqueryvalidation.org/documentation/).
## Reporting issues and contributing code
See the [Contributing Guidelines](CONTRIBUTING.md) for details.
**IMPORTANT NOTE ABOUT EMAIL VALIDATION**. As of version 1.12.0 this plugin is using the same regular expression that the [HTML5 specification suggests for browsers to use](https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address). We will follow their lead and use the same check. If you think the specification is wrong, please report the issue to them. If you have different requirements, consider [using a custom method](http://jqueryvalidation.org/jQuery.validator.addMethod/).
## License
Copyright © Jörn Zaefferer<br>
Licensed under the MIT license.
没有合适的资源?快使用搜索试试~ 我知道了~
jquery validation的Demo
共325个文件
js:248个
gif:25个
html:19个
需积分: 10 12 下载量 160 浏览量
2015-09-18
18:04:08
上传
评论
收藏 859KB ZIP 举报
温馨提示
jquery validation的插件的用法,有许多demo,例如登录的验证等等
资源推荐
资源详情
资源评论
收起资源包目录
jquery validation的Demo (325个子文件)
stylesheet.css 19KB
style.css 11KB
screen.css 6KB
milk.css 5KB
qunit.css 5KB
ui.css 2KB
style.css 2KB
cmxform.css 1014B
cmxformTemplate.css 993B
reset.css 790B
core.css 683B
site-demos.css 471B
screen.css 195B
logo_marketo.gif 8KB
tab-sprite.gif 5KB
button-submit.gif 4KB
back_green-fade.gif 2KB
login-sprite.gif 2KB
back_nav_blue.gif 2KB
tab_green.gif 2KB
icons.gif 1KB
step3-24.gif 1KB
step1-24.gif 1KB
step2-24.gif 1KB
bg.gif 1KB
toggle.gif 845B
blank.gif 799B
page.gif 664B
loading.gif 418B
cmxform-fieldset.gif 314B
warning.gif 234B
unchecked.gif 223B
checked.gif 220B
backRequiredGray.gif 137B
required_star.gif 121B
bg.gif 89B
bg.gif 73B
cmxform-divider.gif 43B
step2.htm 13KB
index.html 22KB
index.html 18KB
index.html 10KB
index.html 7KB
index.html 7KB
themerollered.html 7KB
radio-checkbox-select-demo.html 4KB
errorcontainer-demo.html 4KB
dynamic-totals.html 4KB
custom-methods-demo.html 3KB
ajaxSubmit-integration-demo.html 2KB
errors-within-labels.html 2KB
custom-messages-data-demo.html 2KB
index.html 2KB
index.html 2KB
index.html 2KB
jquerymobile.html 2KB
index.html 2KB
file_input.html 2KB
favicon.ico 1KB
header1.jpg 442B
jquery-1.11.1.js 276KB
jquery-1.9.1.js 262KB
jquery-1.8.3.js 260KB
jquery-1.7.2.js 247KB
tiny_mce.js 158KB
qunit.js 113KB
methods.js 52KB
test.js 48KB
jquery.validate.js 42KB
core.js 40KB
jquery.form.js 38KB
additional-methods.js 36KB
jquery.validate.min.js 21KB
jquery.mockjax.js 18KB
additional-methods.min.js 17KB
require.js 15KB
error-placement.js 10KB
jquery.simulate.js 8KB
rules.js 8KB
jquery.maskedinput.js 7KB
Gruntfile.js 4KB
mktSignup.js 4KB
iban.js 3KB
messages_fr.js 3KB
messages_fr.min.js 3KB
messages_fr.js 3KB
messages_ka.js 2KB
messages_ka.min.js 2KB
statesUS.js 2KB
messages_ka.js 2KB
editor_template.js 2KB
aria.js 2KB
messages_ge.js 2KB
messages.js 2KB
messages_bn_BD.js 2KB
messages_th.js 2KB
messages_bn_BD.min.js 2KB
messages_el.js 2KB
messages_ge.min.js 2KB
cifES.js 2KB
共 325 条
- 1
- 2
- 3
- 4
资源评论
伊修卡
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功