b1nary0mega
4/23/2014 - 2:47 PM

Use cfscript to write out a javascript warning to calling page; useful for inserting into components when troubleshooting

Use cfscript to write out a javascript warning to calling page; useful for inserting into components when troubleshooting

<cfscript>
  WriteOutput('
    <script language="JavaScript">
      <!--
      alert("#variable_name#");
      //-->
    </script>
  ');
</cfscript>