Oops!  My bad.  No, really.  Here are the files:

         <<wddx_example.cfm>>     <<wddx.js>>     <<wddxDes.js>> 
Claudia

> ----------
> From:         Claudia Pearson[SMTP:[EMAIL PROTECTED]]
> Sent:         Friday, March 02, 2001 5:48 PM
> To:   Fusebox
> Subject:      RE: OT: WDDX and Javascript  - Here's the Code To Do It
> 
> Actually, I'm pretty sure the answer is:  you can!
> 
> Attached is a working example I just put together (with comments) showing
> you how to use WDDX to pass variable data from JavaScript to ColdFusion
> and
> back again:
> 
>        <<wddx_example.cfm>> 
> And here are the files from the WDDX SDK that are required to make the
> script above work:
> 
>        <<wddx.js>>     <<wddxDes.js>> 
> Hope this helps!
> 
> Claudia
> 
> > ----------
> > From:       Douglas Smith[SMTP:[EMAIL PROTECTED]]
> > Sent:       Friday, March 02, 2001 4:11 PM
> > To:         Fusebox
> > Subject:    Re: OT: WDDX and Javascript
> > 
> > This is a common "my brain is fried" question...you are mixing up the 
> > client and server execution.
> > 
> > And the answer is: you can't.  Javascript variables don't exist until
> they
> > 
> > run on the browser.  CF variables only exist when the page is executing
> on
> > 
> > the server.
> > 
> > You can write your javascript from the server using CF in your
> javascript,
> > 
> > but the only way for the browser client to put something back to CF is
> to 
> > submit a form (or window.locate to a page with a URL variable in it).
> > 
> > At 07:42 PM 3/2/01, Marsh, Jeffrey B wrote:
> > >My brain is fried today.
> > >How would I get the value of a javascript variable (integer) into a CF
> > >variable (attributes.variable)?
> > >Thanks.
> > >--Jeffrey
> >
> >*************************************************************************
> > ***
> > >This message is intended for the sole use of the individual and entity
> to
> > >which it is addressed, and may contain information that is privileged,
> > >confidential and exempt from disclosure under applicable law.  If you
> are
> > >not the intended addressee, nor authorized to receive for the intended
> > >addressee, you are hereby notified that you may not use, copy, disclose
> > or
> > >distribute to anyone the message or any information contained in the
> > >message.  If you have received this message in error, please
> immediately
> > >advise the sender by reply email and delete the message.  Thank you
> very
> > >much.
> >
> >*************************************************************************
> > ***
> >
> >*************************************************************************
> > ***
> > >
> > >
> > >
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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

Reply via email to