colosoderada
Programmer
My question is:
if I have a JavaScript function
<script language="JavaScript">
int function Cambio(formulario){
int x, y = 10;
window.location="bo.01.cfm";
x = x * y;
return x;
}
</script>
How Can I to assign the result of the function to a variable????
<CFSET Result = ??????>
I have tried
<CFSET Result = #Cambio()#> (wrong)
<CFSET Result = '#Cambio()#'> (wrong)
Any idea, Thanks in advance.
if I have a JavaScript function
<script language="JavaScript">
int function Cambio(formulario){
int x, y = 10;
window.location="bo.01.cfm";
x = x * y;
return x;
}
</script>
How Can I to assign the result of the function to a variable????
<CFSET Result = ??????>
I have tried
<CFSET Result = #Cambio()#> (wrong)
<CFSET Result = '#Cambio()#'> (wrong)
Any idea, Thanks in advance.