maxLength is a Jquery function that allows you to limit the number of char in a textarea field.
maxLength has two parameters:
- limit : To specify the maximum number of characters.
- options(optional) : Modifies the following two options:
- showNumber : Element. To indicate the element that displays the counter.
- revert : true | false. Default true. The order will counter, high to low (true) or low to high (false).
maxLength es una función Jquery que permite limitar el número de caracteres en un campo textarea.
maxLength tiene dos parámetros:
- limit : Para indicar el límite máximo de caracteres.
- options(opcional) : Permite modificar las siguientes dos opciones:
- showNumber : Elemento. Para indicar el elemento que mostrará el contador.
- revert : true | false. Default true. El orden que seguirá el contador, es decir de mayor a menor(true) o de menor a mayor(false).