I was trying variations of that, but it doesn't render the javascript, just leaves it as js.
<cfsavecontent variable="pageOutput"> <script type='text/javascript' src=' http://domain.com/openx/www/delivery/ajs.php?zoneid=3'></script> </cfsavecontent> returns <script type='text/javascript' src=' http://domain.com/openx/www/delivery/ajs.php?zoneid=3'></script> and I need it to return Enjoy your copy of CityBusiness. Delivered each Monday to your office. For subscription information, please call (800) 451-9998 Or visit our website at www.neworleanscitybusiness.com<http://10.1.38.170/openx/www/delivery/ck.php?oaparams=2__bannerid=8__zoneid=0__log=no__cb=5922feca3a__maxdest=http://www.neworleanscitybusiness.com/subscribe/> (javscript text ads don't render in most email clients, so I need to do a noscript block with the actual content, and therefore need to render it server-side) Am i using it wrong? Any other ideas? On Wed, May 14, 2008 at 11:20 AM, Ian Skinner <[EMAIL PROTECTED]> wrote: > Jerry Johnson wrote: > > In coldfusion, can i somehow get that page to render as it would in a > > browser, and save the resulting content to a file or variable? > > <cfsavecontent variable="pageOutput"> > <!--- CFML that generates HTML and|or JavaScript ---> > </cfsavecontent> > > > <cffile ... output="#pageOutput#"> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:260113 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5