cfclient

Part of the CF11 mobile features for client side (JS) development. Enables output of CFcode to JS. Must read the wikidoc for full understanding of this new cf tag.

  <cfclient> ...output... </cfclient>

 cfclient(); ...output... /cfclient>

This tag requires Adobe ColdFusion 11 and up.  Not supported on Lucee, etc.

Links more information about cfclient

Examples
Sample code using the cfclient tag

Very basic example. Please read the wikidoc entry at Adobe for further usage scenarios.

<cfclient>
 <cfset myvar = “Hello World”>
 <cfoutput>#myvar#</cfoutput>
</cfclient>

Fork me on GitHub