I would think you'd be able to... that is if the Javascript interpreter does its job after Cold Fusion's interpreter does his. Basically, you would use Cold Fusion to write out the Javascript code, inserting the value of the variable you watn to use inline in the Javascript, not unlike this:<br><br><CFOUTPUT><br><script language="JavaScript"><br><!--<br>var tempvar = #Variables.TheColdFusionVariable#<br>//--><br></script><br></CFOUTPUT><br><br>-ZD
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.