maxlength Method
Makes the element require a given maximum length.
Syntax
var value; // Type: Boolean // Parameters var length; // Type: Number value = jQuery.validator.methods.maxlength(length);
function maxlength( length : Number ) : Boolean;
Parameters
- length
- Maximum number of characters required
Browser Compatibility
See Also