Skip to main content
Known Participant
July 14, 2011
Question

Javascript invoke cfscript function

  • July 14, 2011
  • 1 reply
  • 482 views

<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?

    This topic has been closed for replies.

    1 reply

    Inspiring
    July 14, 2011

    Ask yourself these questions:

    * where does JavaScript run?

    * where does CF run?

    --

    Adam