This is sort of off topic, but have you thought about an invisible frame
that would perform a content refresh every x seconds. The invisible frame
could communicate w/ the display frame & conduct a number of operations to
check if the data needed to be changed. All the var handling could take
place in the invisible frame which in turn outputs the results to the
visible frame using javascript (look up parent.framename.divname.innerhtml &
document.write). just a thought.
-Andrew
-----Original Message-----
From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 7:24 AM
To: CF-Server
Subject: RE: Using javascript to update Application variables
>
> BTW: You CAN use Javascript to modify CF variables, as long as you are
> willing to accept some client-side hiccups, like the reloading
> mentioned by
> Mr. Stern: Pass the JS variable through the URL, as mentioned by
> Mr. Steifel
> and Mr. Riley.
>
As Ricki and yourself have said you need to reload the page. At this point
strictly speaking Javascript variables are actually form or url variables
and its not the Javascript that is updating the CF variable at all, but the
page reload.
The kind of update that Ricki is after is a using JS to change CF variables
_without_ reloading. JS is client side and CF is server side, so you can use
the server side to set the JS before sending it to the client, but the
client cannot affect the server without actually sending information to
server via form, cookie or url variables.
Ricardo is exactly right (much to my dismay because I **hate** client side
Java) In order do this kind of processing you need something that can access
the same object and Java is one of the few ways to handle with....
Actually a thought occurs.... (Yeah yeah smart remarks should be kept to
yourselves ;o) How about Flash 5?? Could you use that to produce an
CF/XML/Flash solution??
Regards
Stephen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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