That's a pretty vague question.  Never the less, one that comes up often.

Basically you need to remember that ColdFusion is all excited first on the 
server.  The resulting output of all your CF code is passed to the client to 
be executed in the browser.  ColdFusion can dynamically generate JavaScript 
that, when executed in the browser, will contain values that existed in 
ColdFusion.  You can't "pass a value" from JS to CF because by the time your 
JS is executing, your CF is long gone.  Of course, if you intend to somehow 
save state in your web app, there is always Ajax calls, but I'm not even 
going there unless that is what you need.

Describe for us what it is you are after and we'll see if we can't help you.

~Brad

----- Original Message ----- 
From: "Jenny Gavin-Wear" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Saturday, August 02, 2008 1:11 AM
Subject: Javascript and Coldfusion


> I'm looking for some good advice/info on exchanging variables between CF 
> and
> javascript, anyone know of a good reference site, please?
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310077
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to