Use the ColdFusion.RichText.setValue method (created in cfrichtexteditor.js):


ColdFusion.RichText.setValue(_1,_2)  Where parameter _1 is the FCKEditor 
instance id and parameter _2 is the new value.

The FCKEditor instance id is dynamic so use the DOM to obtain the id from the 
generated textarea.

//Example:
ColdFusion.RichText.setValue(document.forms.YourFormName.YourCFTextareaName.id,'Some
 value');


Enjoy! 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297420
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to