Use value.length (in JavaScript/ECMAScript) instead. Gets the codepoint length of the value of the element.
Property of dom/HTMLTextAreaElementdom/HTMLTextAreaElement
SyntaxNote: This property is read-only.
var valueLength = textAreaElement.textLength;
Return Value
Returns an object of type NumberNumber
The codepoint length of the value of the element.
Usage Use the well known and well supported value.length instead (in JavaScript/ECMAScript).
Use this property to get the codepoint length of the value of the element. For more details about codepoint length, see length.
Related specificationstextLength
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4