Saves the generated content of the cfsavecontent tag, including
the results of evaluating expressions and executing custom tags,
in the specified variable.

 <cfsavecontent variable="">

cfsavecontent Attribute Reference

variable String

Name of the variable in which to save the generated content
of the tag.

Examples sample code using the cfsavecontent tag

Script Syntax

savecontent variable="myContent" {

Tag Syntax

<cfsavecontent variable="myContent">
<cfoutput>Some content.</cfoutput>

Fork me on GitHub