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()
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
