Hey Richard,

<cfsavecontent variable="myContent">

<cfset myoutput="hello world" />
<p><cfoutput>#myoutput#</cfoutput</p>

</cfsavecontent>

<!--- not to be morbid, first thing i thought of --->
<cfset replace(myContent, "hello", "goodbye, cruel") />

<cfoutput>#myContent#</cfoutput>

-Joe

On May 10, 2007, at 7:39 AM, Richard Cooper wrote:

> Hi all,
>
> Not sure if this is possible, but is there a way of getting the  
> code from a page prior to comitting
> the HTML to page.
>
> i.e. if page.cfm looked like this
>
> <cfset myoutput = 'hello world'>
> <p><cfoutput>#myoutput#</cfoutput><p>
>
> When loaded, I would get the HTML <p>hello world</p> which I could  
> run more cf code on such as a
> replacenocase function.
>
> I was thinking it might be possible to do this using  
> onRequestend.cfm but I could be way off base.
>
>
> Any ideas if this is pheasible or how to approach this?
> Thanks,
>
> Richard
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277593
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