Select all text by clicking on the textarea

Posted 2 years ago

<textarea name="words" rows="3" onclick="this.focus();this.select()" readonly="readonly">Text I would like to highlight on click </textarea>