1.4
---
* Fixed #2931, validate elements in document order and ignore type=image inputs
* Fixed usage of $ and jQuery variables, now fully comptible with all variations of noConflict usage
* Implemented #2908, enabling custom messages via metadata ala class="{required:true,messages:{required:'required field'}}", added demo/custom-messages-metadata-demo.html
* Removed deprecated methods minValue (min), maxValue (max), rangeValue (rangevalue), minLength (minlength), maxLength (maxlength), rangeLength (rangelength)
* Fixed #2215 regression: Call unhighlight only for current elements, not everything
* Implemented #2989, enabling image button to cancel validation
* Fixed issue where IE incorrectly validates against maxlength=0
* Added czech (cs) localization
* Reset validator.submitted on validator.resetForm(), enabling a full reset when necessary
* Fixed #3035, skipping all falsy attributes when reading rules (0, undefined, empty string), removed part of the maxlength workaround (for 0)
1.3
---
* Fixed invalid-form event, now only triggered when form is invalid
* Added spanish (es), russian (ru), portuguese brazilian (ptbr), turkish (tr), and polish (pl) localization
* Added removeAttrs plugin to facilate adding and removing multiple attributes
* Added groups option to display a single message for multiple elements, via groups: { arbitraryGroupName: "fieldName1 fieldName2[, fieldNameN" }
* Enhanced rules() for adding and removing (static) rules: rules("add", "method1[, methodN]"/{method1:param[, method_n:param]}) and rules("remove"[, "method1[, method_n]")
* Enhanced rules-option, accepts space-seperated string-list of methods, eg. {birthdate: "required date"}
* Fixed checkbox group validation with inline rules: As long as the rules are specified on the first element, the group is now properly validated on click
* Fixed #2473, ignoring all rules with an explicit parameter of boolean-false, eg. required:false is the same as not specifying required at all (it was handled as required:true so far)
* Fixed #2424, with a modified patch from #2473: Methods returning a dependency-mismatch don't stop other rules from being evaluated anymore; still, success isn't applied for optional fields
* Fixed url and email validation to not use trimmed values
* Fixed creditcard validation to accept only digits and dashes ("asdf" is not a valid creditcard number)
* Allow both button and input elements for cancel buttons (via class="cancel")
* Fixed #2215: Fixed message display to call unhighlight as part of showing and hiding messages, no more visual side-effects while checking an element and extracted validator.checkForm to validate a form without UI sideeffects
* Rewrote custom selectors (:blank, :filled, :unchecked) with functions for compability with AIR
1.2.1
-----
* Bundled delegeate plugin with validate plugin - its always required anyway
* Improved remote validation to include parts from the ajaxQueue plugin for proper synchronization (no additional plugin necessary)
* Fixed stopRequest to prevent pendingRequest < 0
* Added jQuery.validator.autoCreateRanges property, defaults to false, enable to convert min/max to range and minlength/maxlength to rangelength; this basically fixes the issue introduced by automatically creating ranges in 1.2
* Fixed optional-methods to not highlight anything at all if the field is blank, that is, don't trigger success
* Allow false/null for highlight/unhighlight options instead of forcing a do-nothing-callback even when nothing needs to be highlighted
* Fixed validate() call with no elements selected, returning undefined instead of throwing an error
* Improved demo, replacing metadata with classes/attributes for specifying rules
* Fixed error when no custom message is used for remote validation
* Modified email and url validation to require domain label and top label
* Fixed url and email validation to require TLD (actually to require domain label); 1.2 version (TLD is optional) is moved to additionals as url2 and email2
* Fixed dynamic-totals demo in IE6/7 and improved templating, using textarea to store multiline template and string interpolation
* Added login form example with "Email password" link that makes the password field optional
* Enhanced dynamic-totals demo with an example of a single message for two fields
1.2
---
* Added AJAX-captcha validation example (based on http://psyrens.com/captcha/)
* Added remember-the-milk-demo (thanks RTM team for the permission!)
* Added marketo-demo (thanks Glen Lipka!)
* Added support for ajax-validation, see method "remote"; serverside returns JSON, true for valid elements, false or a String for invalid, String is used as message
* Added highlight and unhighlight options, by default toggles errorClass on element, allows custom highlighting
* Added valid() plugin method for easy programmatic checking of forms and fields without the need to use the validator API
* Added rules() plguin method to read and write rules for an element (currently read only)
* Replaced regex for email method, thanks to the contribution by Scott Gonzalez, see http://projects.scottsplayground.com/email_address_validation/
* Restructured event architecture to rely solely on delegation, both improving performance, and ease-of-use for the developer (requires jquery.delegate.js)
* Moved documentation from inline to http://docs.jquery.com/Plugins/Validation - including interactive examples for all methods
* Removed validator.refresh(), validation is now completey dynamic
* Renamed minValue to min, maxValue to max and rangeValue to range, deprecating the previous names (to be removed in 1.3)
* Renamed minLength to minlength, maxLength to maxlength and rangeLength to rangelength, deprecating the previous names (to be removed in 1.3)
* Added feature to merge min + max into and range and minlength + maxlength into rangelength
* Added support for dynamic rule parameters, allowing to specify a function as a parameter eg. for minlength, called when validating the element
* Allow to specify null or an empty string as a message to display nothing (see marketo demo)
* Rules overhaul: Now supports combination of rules-option, metadata, classes (new) and attributes (new), see rules() for details
1.1.2
---
* Replaced regex for URL method, thanks to the contribution by Scott Gonzalez, see http://projects.scottsplayground.com/iri/
* Improved email method to better handle unicode characters
* Fixed error container to hide when all elements are valid, not only on form submit
* Fixed String.format to jQuery.format (moving into jQuery namespace)
* Fixed accept method to accept both upper and lowercase extensions
* Fixed validate() plugin method to create only one validator instance for a given form and always return that one instance (avoids binding events multiple times)
* Changed debug-mode console log from "error" to "warn" level
1.1.1
-----
* Fixed invalid XHTML, preventing error label creation in IE since jQuery 1.1.4
* Fixed and improved String.format: Global search & replace, better handling of array arguments
* Fixed cancel-button handling to use validator-object for storing state instead of form element
* Fixed name selectors to handle "complex" names, eg. containing brackets ("list[]")
* Added button and disabled elements to exclude from validation
* Moved element event handlers to refresh to be able to add handlers to new elements
* Fixed email validation to allow long top level domains (eg. ".travel")
* Moved showErrors() from valid() to form()
* Added validator.size(): returns the number of current errors
* Call submitHandler with validator as scope for easier access of it's methods, eg. to find error labels using errorsFor(Element)
* Compatible with jQuery 1.1.x and 1.2.x
1.1
---
* Added validation on blur, keyup and click (for checkboxes and radiobutton). Replaces event-option.
* Fixed resetForm
* Fixed custom-met
没有合适的资源?快使用搜索试试~ 我知道了~
javascript验证框架
共164个文件
js:38个
gif:34个
html:22个
需积分: 9 11 下载量 88 浏览量
2008-11-11
12:04:38
上传
评论
收藏 664KB RAR 举报
温馨提示
javascript验证框架 基于prototype
资源推荐
资源详情
资源评论
收起资源包目录
javascript验证框架 (164个子文件)
Default.aspx 457B
formValidator.js.bak 24KB
consolidated_common.css.bak 12KB
livevalidation_standalone.compressed.js.bak 10KB
formValidator_min.js.bak 8KB
validator.css.bak 563B
Web.Config 2KB
Default.aspx.cs 849B
stylesheet.css 19KB
consolidated_common.css 12KB
style.css 11KB
screen.css 6KB
milk.css 5KB
reset-fonts-grids.css 5KB
ui.tabs.css 4KB
style.css 2KB
style.css 1KB
jVal.css 1KB
cmxformTemplate.css 1KB
cmxform.css 1021B
reset.css 850B
ie6.css 739B
core.css 696B
validator.css 578B
chili.css 425B
screen.css 205B
Thumbs.db 8KB
logo_marketo.gif 8KB
tab-sprite.gif 5KB
button-submit.gif 4KB
loading.gif 2KB
back_green-fade.gif 2KB
login-sprite.gif 2KB
back_nav_blue.gif 2KB
tab_green.gif 2KB
step3-24.gif 1KB
step1-24.gif 1KB
step2-24.gif 1KB
bg.gif 1KB
reg1.gif 951B
toggle.gif 845B
blank.gif 799B
loading.gif 781B
page.gif 664B
reg4.gif 634B
reg2.gif 633B
reg3.gif 633B
warning.gif 588B
loading.gif 418B
cmxform-fieldset.gif 314B
warning.gif 234B
unchecked.gif 223B
checked.gif 220B
backRequiredGray.gif 137B
required_star.gif 121B
f0f2f5grad.gif 93B
eeGrad2.gif 92B
bg.gif 89B
pointer.gif 82B
bg.gif 73B
cmxform-divider.gif 43B
.htaccess 36B
help.htm 21KB
step2.htm 13KB
demo1.htm 13KB
demo4.htm 11KB
demo3.htm 11KB
demo2.htm 3KB
demo5.htm 2KB
userguide.html 27KB
index.html 20KB
update.html 15KB
index.html 10KB
demo.html 10KB
faq.html 8KB
index.html 7KB
index.html 7KB
index.html 6KB
radio-checkbox-select-demo.html 5KB
errorcontainer-demo.html 5KB
dynamic-totals.html 4KB
index.html 4KB
custom-methods-demo.html 3KB
custom-messages-metadata-demo.html 3KB
download.html 3KB
jVal.html 3KB
demo.html 3KB
ajaxSubmit-intergration-demo.html 2KB
index.html 2KB
example.html 2KB
money.html 932B
favicon.ico 1KB
header1.jpg 442B
jquery.js 98KB
jquery_last.js 45KB
jquery.validate.js 35KB
validation-framework.js 31KB
jquery.form.js 29KB
formValidator.js 24KB
jquery.validate.min.js 23KB
共 164 条
- 1
- 2
资源评论
hustbest
- 粉丝: 1
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功