Jumat, 04 September 2009

onclick select the text of a textarea

Sometimes we require that when the users click on a textarea at that time all the text should get selected.
This can be done with a small javascript.







When a user clicks on a textarea then all the contents will get selected.

Tidak ada komentar:

Posting Komentar