JD

21 March 2012

jQuery Validate and MaxLength

A quick one… Just had a situation where we were adding the maxlength attribute to a html input, and then trying to use the excellent jQuery Validate plugin to validate the form… Resulting in an invalid form! Doh!!

Seems it is a bug…

Here is the fix.

Doh! Hopefully fixed soon.

Happy coding!!


← Back