HTMLTextAreaElement: select() method
HTML DOM
HTML DOM
The select() method of the HTMLTextAreaElement interface selects all the text in a textarea element.
For general information about this method, see HTMLInputElement.select().
Syntax
select()
Parameters
None.
Return value
None (undefined).
Specifications
Browser compatibility
See also
- HTMLTextAreaElement
- HTMLTextAreaElement.setSelectionRange()