Learn free online HTML5, javascript, and jquery Tutorials by Examples

Tuesday, 17 June 2014

Highlight/select all text in textarea using javascript

<textarea onclick="this.select();">Text Text Text Text Text Text Text </textarea>

No comments:

Post a Comment