By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,665 Members | 1,513 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,665 IT Pros & Developers. It's quick & easy.

Setting focus into FCKEditor

P: n/a
Hello everyone,

I know this isn't related to generic javascript but I didn't found a
group dedicated to the FCKEditor. I'm sorry for the inconvenience.

I'm desperately trying to set the focus into a FCKEditor component
(client side). I know that the FCK object exposes a "Focus()" method
(the capital F isn't a spelling mistake). The problem is I don't know
how to bind to this object from my container page (aspx). How can you
reference this object?

Thanks
François

Jul 11 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Nevermind, I found the right way to do it. The key is the FCKeditorAPI.
Obviously, I haven't read the documentation enough. =)

For those of you who may be interested, here is how you access a
FCKEditor instance *client side*.

var oFCKeditor=FCKeditorAPI.GetInstance('my_fckeditor_ instance') ;
oFCKeditor.Focus();

Goodbye
François

deneb wrote:
Hello everyone,

I know this isn't related to generic javascript but I didn't found a
group dedicated to the FCKEditor. I'm sorry for the inconvenience.

I'm desperately trying to set the focus into a FCKEditor component
(client side). I know that the FCK object exposes a "Focus()" method
(the capital F isn't a spelling mistake). The problem is I don't know
how to bind to this object from my container page (aspx). How can you
reference this object?

Thanks
François
Jul 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.