Skip to main content
Home / Code Snippets / JavaScript / Auto Select Textarea Text

Auto Select Textarea Text

<textarea rows="10" cols="50" onclick="this.focus();this.select()" readonly="readonly">
   example text
</textarea>