How about (from the top of my head) you create a page with frames.

Instead of refreshing the whole page, refresh a hidden frame with a cfml
template and then pass the variables through the frames via javascript and
then update the textarea (which of course is in a different frame).

Just a thought...

Could work quite nicely!

Paul

> -----Original Message-----
> From: Ricki Stern [mailto:[EMAIL PROTECTED]]
> Sent: 19 December 2000 19:44
> To: CF-Server
> Subject: Re: Using javascript to update Application variables
>
>
> Here's the situation. I am creating a chat room. right now when a
> user wants
> to post a message, that triggers a CF script which updates the application
> variable and then the page is reloaded. reloading the page isn't visually
> appealing in this situation, so I was hoping to be able to write a
> JavaScript function that does everything my CF page does. I can use
> JavaScript to update the textarea with the new value but that
> doesn't really
> help other people see that new value
>
> thanks for all your help so far
> Ricki Stern
> ----- Original Message -----
> From: "William J. Riley" <[EMAIL PROTECTED]>
> To: "CF-Server" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 19, 2000 1:30 PM
> Subject: RE: Using javascript to update Application variables
>
>
> > I don't think has much to do with WDDX. You would still need to submit
> this
> > packet back to a CFML page with JavaScript and the easier route would
> > probably be URL parameters.
> >
> > 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: Lord, Heath [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 19, 2000 1:19 PM
> > To: CF-Server
> > Subject: RE: Using javascript to update Application variables
> >
> >
> > Via WDDX he could.
> >
> > -----Original Message-----
> > From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 19, 2000 12:30 PM
> > To: CF-Server
> > Subject: RE: Using javascript to update Application variables
> >
> >
> > Hi Ricki,
> > >
> > > 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?
> > >
> >
> > Actually you can't go from Javascript to CF, only the other way...
> >
> > What is it exactly you are trying to do?  I understand the 'setting
> > application variable' part, just need a context in which to place this.
> >
> > 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

Reply via email to