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. Tweet this!
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.
Thanks that's what i was looking for...... :)
Great code, I was exactly looking for this.
Searched the web for this great piece of code.
(I have the boxes in a while loop, and other codes didn't work, they keep selected the first area box, but now, it selects which you click, thats just great!!
Thank you very much, it helped me a lot!