Hello Ricki,
JavaScript is not normally used in this fashion as it is a client side
scripting language, while ColdFusion is a server side one. JavaScript does
not have direct access to the Server or ColdFusion Application memory. I
would suggest re thinking your approach, However if you insist on using
JavaScript what you would have to do is create a function that would access
a CFML page, perhaps from within a hidden frame so as not to show the output
on the client end.
You may want to lookup the JavaScript command location, as in:
self.location='http://www.mydomain.com/index.cfm?action=someparameters'
William J. Riley
Administrator
Atlantic Computer Systems & Services
Edge Web Hosting
Phone:(410) 363-4626
Fax:(410) 363-8526
[EMAIL PROTECTED]
http://www.edgewebhosting.net
-----Original Message-----
From: Ricki Stern [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 11:24 AM
To: CF-Server
Subject: Using javascript to update Application variables
I need to have a JavaScript procedure within my coldfusion page update some
application variables.
without the JavaScript I would lock the variables and then do an update
but how do I do this with JavaScript?
Ricki
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com