Not sure what you mean? You're trying to set content after it's already
rendered? You'll probably need to access the FCKEditorAPI object, but I
don't know if it's running in a custom name space in the CF rendered
format. I have form validation written on a custom FCKEditor
implementation, where I needed the value of the field so that I could
then verify length. For this I needed to access the API methods to pull
the value:
oEditor = FCKeditorAPI.GetInstance('fieldName');
chkThis = oEditor.GetXHTML();
I would imagine there must be other API accessible methods available.
You might check their site, FCKEditor.com, where the wiki (accessible
through the support section) has a lot of information, though the forums
might be more helpful.
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_____________________________
http://blog.cutterscrossing.com
Mike Demahy wrote:
> I am trying to set a value in the <cftextarea> with javascript. Having a hard
> time with the syntax. It works with a straight <textarea> gut does nothing
> when using a <cftextarea>.
>
> Mike
>
>> Having given the new FCKeditor functionality the once-over I'm far from
>> convinced.
>>
>> I've been using FCK for quite some time now, it's a doddle to configure and
>> customise. I can't see the advantage of changing from what I have to a CF8
>> richtext element.
>>
>> Under CF8 it appears there's going to be very little difference in the
>> amount of code required and configuration I think is all done in the same
>> way.
>>
>> Additionaly, the CF8 Beta version of FCK is 2.3.3 .How will this be
>> updated? Current FCK is 2.4.2
>>
>> I can see it's a no-brainer for a novice to throw-up an FCK editor or two or
>> three. But once you need specific confgurations, there's no difference in
>> ease of set up between CF8 and the standard instructions on the FCK docs
>> (which have been lifted into CFDOCS v8 :).
>>
>> Spell checker? That might convince me.
>>
>> Well I am niggling:)
>>
>> Chris
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291417
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4