+ 1
Why not working?
https://code.sololearn.com/WRHh8EJdKB13/?ref=app when i click the button, only the text in the textarea t2 is being selected. I want the text of both the textboxes be selected.
3 Réponses
+ 6
I don't think so that you can select two things at once.
If you try to do so then the last element with `.select()` on it will be selected.
+ 2
I would say this is not possible, you can only select one textarea at a time, similar to focus() method.
+ 1
thanks