1.6.0
版本发布时间: 2015-06-30 23:19:06
jquery-validation/jquery-validation最新发布版本:1.21.0(2024-07-17 17:47:06)
- Added Arabic (AR), Portuguese (PTPT), Persian (FA), Finnish (FI) and Bulgarian (BR) localization
- Updated Swedish (SE) localization (some missing html iso characters)
- Fixed $.validator.addMethod to properly handle empty string vs. undefined for the message argument
- Fixed two accidental global variables
- Enhanced min/max/rangeWords (in additional-methods.js) to strip html before counting; good when counting words in a richtext editor
- Added localized methods for DE, NL and PT, removing the dateDE and numberDE methods (use messages_de.js and methods_de.js with date and number methods instead)
- Fixed remote form submit synchronization, kudos to Matas Petrikas
- Improved interactive select validation, now validating also on click (via option or select, inconsistent across browsers); doesn't work in Safari, which doesn't trigger a click event at all on select elements; fixes http://plugins.jquery.com/node/11520
- Updated to latest form plugin (2.36), fixing http://plugins.jquery.com/node/11487
- Bind to blur event for equalTo target to revalidate when that target changes, fixes http://plugins.jquery.com/node/11450
- Simplified select validation, delegating to jQuery's val() method to get the select value; should fix http://plugins.jquery.com/node/11239
- Fixed default message for digits (http://plugins.jquery.com/node/9853)
- Fixed issue with cached remote message (http://plugins.jquery.com/node/11029 and http://plugins.jquery.com/node/9351)
- Fixed a missing semicolon in additional-methods.js (http://plugins.jquery.com/node/9233)
- Added automatic detection of substitution parameters in messages, removing the need to provide format functions (http://plugins.jquery.com/node/11195)
- Fixed an issue with :filled/:blank somewhat caused by Sizzle (http://plugins.jquery.com/node/11144)
- Added an integer method to additional-methods.js (http://plugins.jquery.com/node/9612)
- Fixed errorsFor method where the for-attribute contains characters that need escaping to be valid inside a selector (http://plugins.jquery.com/node/9611)