Wednesday, November 3, 2010

onclick select the text of a textarea

<textarea rows="8" cols="40" onclick="this.focus();this.select()">
   some text here
   some text here
</textarea>

No comments:

Post a Comment