[jQuery] validator.getLength is not a function
I just upgraded the validation plugin to 1.0 final from beta 2 and now
I get this on one of my forms:
Error: jQuery.validator.getLength is not a function
The line where the error occurs is the second of the three lines
below:
jQuery.validator.addMethod("validPhoneNr", function(value, element,
param) {
return /^\+{0,1}[\d\- ]+$/.test(value) ||
jQuery.validator.getLength(value, element) == 0;
},"");
Does anyone know if this function has changed or been replaced?