Use JavaScript to place cursor at end of text in text input element

preview_player
Показать описание
#short
#javascript
What is the best way (and I presume simplest way) to place the cursor at the end of the text in a input text element via JavaScript - after focus has been set to the element?
Рекомендации по теме
join shbcf.ru