I am using the following 2 commands;
oEditor.SetHTML( oContents ) ;
oEditor.Focus();
This always set my cursor position at the very start of my text. I want to be able to set the focus and make sure that the cursor appears at the very end of my text. Does anybody know how to do this?
oEditor.SetHTML( oContents ) ;
oEditor.Focus();
This always set my cursor position at the very start of my text. I want to be able to set the focus and make sure that the cursor appears at the very end of my text. Does anybody know how to do this?
RE: Put cursor to end of text on setting Focus
oEditor.InsertHtml
instead of
oEditor.SetHtml