OK, this is frustrating. Seems like such a simple thing, but I can't figure it out. How can I set the focus to the editor using javascript? I see there is a way to set the focus automatically on startup, but what if I want to do it manually?
Thanks!
Thanks!
RE: Set the focus
fieldobj = document.getElementById(focusfieldname+'___Frame');
setTimeout("fieldobj.contentWindow.focus()",100);
Need the timeout only right after the initial load.
Set the focus to fck in firefox
function FCKeditor_OnComplete(editorInstance) {
if ( typeof(window.parent.doSetFocus) == 'function' )
window.parent.doSetFocus()
}
and
FCKConfig.StartupFocus = true;
but i am not getting focus in firefox (2.0.0.3).
Can anybody sujest the reason for this
Thanks