Textarea Object
Select the contents of a text area:
The select() method selects the entire contents of a text area.
The select() method is supported in all major browsers.