OK, maybe I shouldn't have said you "need" to use the FCKeditorAPI, but since it's built-in to FCKeditor and does exactly what you need, it might be easier than writing your own custom functions.
See: http://wiki.fckeditor.net/Developer%27s_Guide/Javascript_API There are a number of methods in the API, including getXHMTL() which returns the contents of the editor instance. I'm using the API successfully in a CF/AJAX project - works like a charm. -michael -- michael acadia | [EMAIL PROTECTED] Andy Matthews wrote: > I thought this would be fairly straightforward but it appears to be causing > me some distress. I need to get the value of an FCKEditor field for > transmission using AJAX. However, when I reference the fields ID, I get a > blank result when there is definitely content in it. Can someone shed some > light on this for me? Below is the HTML that is generated when I instantiate > the FCKEditor. > > <div> > <input type="hidden" id="art_article" name="art_article" value="" > style="display:none" /> > <input type="hidden" id="art_article___Config" value="" style="display:none" > /> > <iframe id="art_article___Frame" > src="/admin/includes/fckeditor/editor/fckeditor.html?InstanceName=art_articl > e&Toolbar=SmallSet" width="100%" height="250" frameborder="no" > scrolling="no"></iframe> > </div> > > Any ideas? > > <!----------------//------ > andy matthews > web developer > certified advanced coldfusion programmer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --------------//---------> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265308 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

