Can I access a ColdFusion variable in a JavaScript function?
For example:
<SCRIPT>
function f()
{
alert("Message is" + m);
}
<CFSET m = "Hello World">
<CFFORM onsubmit="return f();" METHOD="Post".....>
Can I access m in function f?
Any help/suggestions will be appreciated. Thank you.
For example:
<SCRIPT>
function f()
{
alert("Message is" + m);
}
<CFSET m = "Hello World">
<CFFORM onsubmit="return f();" METHOD="Post".....>
Can I access m in function f?
Any help/suggestions will be appreciated. Thank you.