http://jqueryvalidation.org/documentation/
List of built-in Validation methods
A set of standard validation methods is provided:
required – Makes the element required.
remote – Requests a resource to check the element for validity.
minlength – Makes the element require a given minimum length.
maxlength – Makes the element require a given maxmimum length.
rangelength – Makes the element require a given value range.
min – Makes the element require a given minimum.
max – Makes the element require a given maximum.
range – Makes the element require a given value range.
email – Makes the element require a valid email
url – Makes the element require a valid url
date – Makes the element require a date.
dateISO – Makes the element require an ISO date.
number – Makes the element require a decimal number.
digits – Makes the element require digits only.
creditcard – Makes the element require a credit card number.
equalTo – Requires the element to be the same as another one
本文详细介绍了jQuery Validation插件内置的一系列验证方法,包括必填验证、远程验证、长度限制等,帮助开发者快速实现表单验证功能。

被折叠的 条评论
为什么被折叠?



