In my window_onload function, I am setting the focus on a textarea in my form. It will show text previously entered in the textarea. However it puts the cursor at the beginning of the text.
Is there a way I can make the cursor start at the end of what has been typed in?
Here is the function I'm currently using: document.getElementById("comment").focus();