How to Set Focus on the Editor Object

Hi,

I am using Editor as part of my web form. All elements are assigned tabindexs. Since my editor is palced in a div, i am unable to tab index attached to its div.

how do i set the Editor focus. Is there any API available.

Thanks.

Hello,

there is not a public method. Try to use the following:

editor = new dhtmlXEditor("editorObj"); window.setTimeout(function(){ editor.edWin.focus(); },1);

Thanks a lot. It worked. I simply called the editor method in the onblur function of the previous form element.

Thanks again.