Whatever message this page gives is out now! Go check it out!
ToScript(cfvar, javascriptvar, outputformat, ASFormat) |
Parameter | Description |
cfvar | A ColdFusion variable. This can contain one of the following:
|
javascriptvar | A string that specifies the name of the JavaScript variable that the ToScript function creates. |
outputformat | Optional. A Boolean value that determines whether to create WDDX (JavaScript) or ActionScript style output for structures and queries:
|
ASFormat | Optional. A Boolean value that specifies whether to use ActionScript shortcuts in the script:
|
<cfset thisString="hello world"> |
<script type="text/javascript" language="JavaScript"> |
WDDXQuery = new WddxRecordset(); |
<script type="text/javascript" src="/CFIDE/scripts/wddx.js"> </script> |
ActionScriptQuery = new Array(); |
<h2>ToScript</h2> |