On Mon, Jul 19, 2010 at 5:17 PM, Maureen wrote:
>
> Den,
>  You totally rock.  This solves a world of problems for me.
> MM

WOOHOO!

Here's a complete, working example:

<cfsavecontent variable="hook">
<script>
        function doIt() {
            alert( "Say cheese!" ) ;
        }

        function FCKeditor_OnComplete( editorInstance )
        {
                editorInstance.Events.AttachEvent( 'OnSelectionChange', doIt ) ;
        }
</script>
</cfsavecontent>
<cfhtmlhead text="#hook#" />
<html>
<body>
<cfform>
<cftextarea name="fun" id="fun" onclick="javascript:alert('wee')"
richtext="true">try me</cftextarea>
</cfform>
</body></htm

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335506
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to