Look into WDDX, CFML2JS will create an array of all of your values for
you.
Something like
That will result in
variablename = new array stuff
You'll need to include wddx.js which is in your cfide/scripts folder.
__
teve Oliver" <[EMAIL PROTECTED]> on 01/21/2002 04:16:38 PM
Please respond to [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
cc:
Subject: RE: javascript/coldfusion--- Can you do this?
Look into WDDX, CFML2JS will create an array of all of your values for
you.
Something like
&l
, January 21, 2002 5:17 PM
To: CF-Talk
Subject: RE: javascript/coldfusion--- Can you do this?
Look into WDDX, CFML2JS will create an array of all of your values for
you.
Something like
<cfwddx action="cfml2js" input="qryName"
toplevelvariable="variablename">
That
-Original Message-
From: Metzy Martinez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 12:44 PM
To: CF-Talk
Subject: RE: javascript/coldfusion--- Can you do this?
Steve-
thank you for the direction, it looks i can make it work, i think.
but how do a pass the variable through a
thanks steve
-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 12:57 PM
To: CF-Talk
Subject: RE: javascript/coldfusion--- Can you do this?
Here is an example of what you can do with WDDX
http://hotwired.lycos.com/webmonkey/99/15/demo
ddressArray.recordcount#);
<cfloop index=i from=1 to=#addressArray.recordcount#>
arrValue[#i#] = #address_id[i]#;
arrLabel[#i#] = '#street1[i]#';
</cfloop>
window.opener.modifyCatalog(arrLabel, arrValue);
<cfElse>
var arrValue;
var arrLabel;
window.opener.modifyCatalog(arrLabel, 0);
</cfIf>
</cfoutput>
window.close();
}
//-->
*
6 matches
Mail list logo