HTMLTextAreaElement: textLength property - Web APIs | MDN
Value
A non-negative integer.
Examples
js
const textareaElement = document.getElementById("comment");
console.log(textArea.textLength);
Specifications
| Specification |
|---|
| HTML # dom-textarea-textlength |