Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Javascript invoke cfscript function

New Here ,
Jul 14, 2011 Jul 14, 2011

<script language="javascript">

function fnTemplateFiltersSave()

{

alert("hi");

another_function();

}

</script>

<cfscript>

function another_function(){

alert("hi2");

}

</cfscript>

id there anything wrong in this syntax.. if so what did i do wrong?

458
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 14, 2011 Jul 14, 2011
LATEST

Ask yourself these questions:

* where does JavaScript run?

* where does CF run?

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources