首页 > 代码库 > jquery.validate 一些技巧

jquery.validate 一些技巧

1.Validator.element()      

 Validates a single element, returns true if it is valid, false otherwise.

https://jqueryvalidation.org/Validator.element/

 

2.jQuery.validator.setDefaults()  

Modify default settings for validation.

https://jqueryvalidation.org/jQuery.validator.setDefaults/

jquery.validate 一些技巧