Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Select text in Text Field

Avatar

Former Community Member
How can I select text in Text Field via javascript?

Like when field get focus.



When I set "Allow Multiple Lines" option for Text Field, method "setFocus" does not select content of text field, as in the case when Text Field supports only one line of text.
0 Replies