21
Knowing the jQuery Caret plugin, I'm still seeing no way to do the following on a single line text box in HTML (i.e. the input:type=text control) with JavaScript:
- Programmatically inserting text into a text box
- Setting the caret to the end.
- Making the caret visible (i.e. scroll the text box content)
I know how to do 1. and 2., just for 3. I have found no way of doing it.
To illustrate it:

My question is:
Is there any way to reliable put the caret at the end of the text and scroll it into the view?
(I can think of simulating pressing the END key or something like that, but I'm unsure whether this would be the best option).