I have a blank textarea.
When the user clicks on this textarea for the first time, some text is pre-filled:
Dear sir,
Best regards,
John Smith|
...and the cursor goes at the end by default. I want the cursor to be instantly placed where it belongs:
Dear sir,
|
Best regards,
John Smith
So basically, I am looking for a way to move the cursor at the 2nd line immediately and automatically, regardless of the amount of characters in the 1st line.
Is this magic or is it possible?
Thanks and stay safe :)