Video selgitab, et mõnel juhul tuleb Textareasse sisestatavate märkide arvule piir panna.

Keel: Inglise keel

Teema: Digitaalne & Tehnoloogia – Kodeerimine

Algne kirjeldus: 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.
[…]

Autor: coding_dev_ (Instagram)

Avaldamise kuupäev: 04-01-2023

Video pikkus: 00:13