I have some CFCs I use to build needed javascript/html that is outputted onto pages at the time they are loaded.
On Thu, Sep 4, 2008 at 1:29 PM, Andy Matthews <[EMAIL PROTECTED]>wrote: > That's irrelevant. > > The ColdFusion code would completely process before ANY javascript code > would even make it to the browser. > > -----Original Message----- > From: Justin Scott [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2008 1:24 PM > To: CF-Talk > Subject: Re: Javascript in CFC > > > This works? Am I missing something? How is the browser seeing > javascript > code in a cfc? > > The CFCOMPONENT and CFFUNCTION tags both support an "output" attribute that > can be set to yes to allow their output to be injected into the content > stream back to the user. > > > -- > -Justin Scott, http://www.tlson.com/ > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312049 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

