473,320 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Setting focus into FCKEditor

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
1 10789
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Ronald | last post by:
Hi, I'm am trying to implement FCKeditor in my webapplication, but unfortunatly, I haven't succeeded in doing this. After almost a week, I finally got an compiled application, but now I get some...
4
by: Showjumper | last post by:
Has anyone been able to get FckEditor for dotnet to work successfully? I consulted google groups for past post on the matter but found onlu a few posts relating to it and still wasnt able to get it...
2
by: Ferret Face | last post by:
Has anyone had any success using ASP.NET with FCKEditor?
5
by: Jeff | last post by:
Hey ASP.NET 2.0 lets say I have a web page containing a FCKeditor, when this page loads it will fill the FCKeditor with some kind of text... I'm wondering how to set this text in the...
1
by: =?Utf-8?B?Rml4ZXI=?= | last post by:
There is Content Management System. In it on administrator's side dinamic number of "body" (which showing in FCKeditors) elements for generating page Code...
0
by: beemer127 | last post by:
Hello: I'm really new to both .NET and SQL, and I am still learning. I have the FCKeditor working, meaning that it displays in my page, and I have the SQL connection string established, but I'm...
1
by: Archana1 | last post by:
hi I want to add fckeditor in asp. but it have some error like page can not be display Please reply urgently my code is: <!-- #include...
1
by: ShirishKumar | last post by:
Hi, I have some problem with FCKEditor . First of all Required FiledValidator is not working for FCKeditor . I searched google and kept EnableClientScript of requiredfieldvalidator for...
1
by: tokcy | last post by:
Hi everyone, this is my first time when i am using FCKeditor and i have some problem while doing validation on textareas. I am checking if that textarea is blank then alert should come for...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.