La vidéo explique que dans certains cas, il est nécessaire de limiter le nombre de caractères pouvant être saisis dans Textarea.

Langue: Anglais

Matière: Digital & Technologie – Codage

Description originale: By default, we can enter data in a textarea upto 5,24,288 characters.
In some cases, there is a need of putting a limit on the size of characters that can be typed in a textarea. So in that case, we can use maxlength attribute to control the number of characters entered in a textarea.
Like this,

<textarea maxlength=”100″></textarea>

For counting the characters in Textarea, we handle the input event which is triggered if the value of textarea is changed.
[…]

Auteur: coding_dev_ (Instagram)

Date de publication: 04-01-2023

Durée de la vidéo: 00:13