I'm very new to ColdFusion so help me out on CFSCRIPT. Can someone tell me the following:
1. What's the difference between CFSCRIPT verses JavaScript?
2. What's the advantages/disadvantages?
3. How it is as compared to javascript?
4. How does ColdFusion see and process CFSCRIPT as compared to JavaScript? i.e. can I place CFSCRIPT codes inline in place of CF tags/codes and still produce the same result logically (as in mathematical computation, comparison, etc.,) and physically (as in appearance on the screen)?
5. Can CFSCRIPT variables be used interchangeably with CF variables? i.e. <CFSET myVar = "ColdFusion">
...
<CFSCRIPT>
...
myVersion = myVar /* Assign CF variable */
...
</CFSCRIPT>
...
<!--- Print CFSCRIPT variable --->
<CFOUTPUT>#myVersion#</CFOUTPUT>
1. What's the difference between CFSCRIPT verses JavaScript?
2. What's the advantages/disadvantages?
3. How it is as compared to javascript?
4. How does ColdFusion see and process CFSCRIPT as compared to JavaScript? i.e. can I place CFSCRIPT codes inline in place of CF tags/codes and still produce the same result logically (as in mathematical computation, comparison, etc.,) and physically (as in appearance on the screen)?
5. Can CFSCRIPT variables be used interchangeably with CF variables? i.e. <CFSET myVar = "ColdFusion">
...
<CFSCRIPT>
...
myVersion = myVar /* Assign CF variable */
...
</CFSCRIPT>
...
<!--- Print CFSCRIPT variable --->
<CFOUTPUT>#myVersion#</CFOUTPUT>