Rank: Member Groups: Member
Joined: 2/9/2009 Posts: 23
|
Hi, I have an HTML editor that I control from javascripts. What I want to do is to set focus on the editor and place the cursor at the end of current content in the editor.
Code: JavaScript
var ed = eo_GetObject("Editor1");
if(ed != null)
{
ed.focus();
ed.setCursorToTheEndOfContent();
}
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Unfortunately I do not think there is a reliable way to move the cursor programmatically inside the editor. Sorry about that!
Thanks!
|