FYI, to answer my second question about getting the
value of the richtext
CFTextarea, this works:

ColdFusion.getElementValue('nameOfTextArea',
'nameOfForm');

I found this information here, along with quite a bit
of other useful
information about Cftextarea:

http://www.rakshith.net/blog/?p=22

Now if I could just figure out how to work around the
problem with onChange
not working.

-----Original Message-----
From: E C list [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 14, 2008 1:14 PM
To: CF-Talk
Subject: RE: cftextarea onChange bug

I think it probably is related.  I wish someone had a
workaround.

I did just find this information, but I am not sure
how to impliment what
they're saying, maybe I'll try to find more
information:

http://www.nabble.com/Re:-Setting-a-value-for-CFTEXTAREA-(richtext)-via-Java
script-td15089626.html

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'); 



-----Original Message-----
From: Justin T [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 11:07 AM
To: CF-Talk
Subject: Re: cftextarea onChange bug

> I am having two issues using CFTextarea (richtext)
that I wonder
> about:
> 
> 1) when richtext is enabled the onchange attribute
doesn't seem to 
> work.
> 
> 2) I can't seem to get the value of the text in the
textarea when 
> richtext is on.  I want to access the value of the
field with 
> javascript.
> 
> Thank you. 

Is this related to my post?

http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55201






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:299026
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