you're going to have to use cfwddx to serialize your coldfusion variables.

~Simon

> Simon Horwith
> Allaire Certified ColdFusion Instructor
> Certified ColdFusion Developer
> Fig Leaf Software
> 1400 16th St NW, # 220
> Washington DC 20036
> 202.797.6570 (direct line)
> www.figleaf.com
> 


-----Original Message-----
From: sam komolafe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 26, 2000 10:52 AM
To: CF-Talk
Subject: CF and JavaScript Variables


Hi guys,

How do I assign a CF variable to a JavaScript variable AND HOW do I also
assign a JavaScript Variable to a CF variable.  These does not work please
help:

<CFOUTPUT>
<CFSET CFvar = 'Christmas'>
<SCRIPT LANGUAGE="javascript">

  //assign CFvariable to a JavaScript variable
  var jvs_var  = #CFvar#;

  //assign JavaScript variable  to a CFvariable
  <cfset newCFvar   =  jvs_var;

</SCRIPT>
<CFOUTPUT>


Thanks
sam komolafe
[EMAIL PROTECTED]
~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free Setup 
from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support  Visit 
SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to