oi Christian!!
you'd have to pass it's value into a form object for a post back to the
server.
--
Critter, MMCP
Certified ColdFusion Developer
Crit[s2k] -
-
Friday, November 02, 2001, 1:45:09 PM, you wrote:
CA> Folks:
CA> Anyone know how t
Folks:
Anyone know how to convert Client JavaScript variables to CF variables?
Example :
I would like to grab the value from the following variable, whose location
is in a JavaScript block in child pop-up window :
opener.document.myForm.myVariable.value
I would assume that since JS is Client-
location.replace(loc+qs);
//alert(screen.width +" " +screen.height);
- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 7:51 AM
Subject: Re: javascript vars to cf vars?
> I've actu
MAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 5:23 PM
Subject: RE: javascript vars to cf vars?
> why not have one page which uses JS to gather the info you need (screen
> width, etc.), then submit this to a CF page using forms, or url
parameters.
> The CF page would then set cookies or se
ughts.
Shawn Grover
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 1:27 PM
To: CF-Talk
Subject: Re: javascript vars to cf vars?
I'm trying to do the same thing, but I have a couple of issues that I can't
get around. The big one
ECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 2:27 PM
To: CF-Talk
Subject: Re: javascript vars to cf vars?
I'm trying to do the same thing, but I have a couple of issues that I can't
get around. The big one is that we use frames and that seems to really
screw things up
you to the site
location.href='index.cfm?width=' + screen.width + '&height=' +
screen.height;
Regards,
Steve Drucker
CEO / MM Master Instructor
Fig Leaf Software
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 3:27 PM
To: CF-
om: "Michael Lugassy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 7:01 PM
Subject: javascript vars to cf vars?
> this might sound stupid but - is it possible to put js vars (like, screen
width) into
> coldfusion vars?
>
>
frame sometimes) and have CF read them as URL or FORM
variables.
HTH,
Evan
> -Original Message-
> From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 16, 2001 8:02 PM
> To: CF-Talk
> Subject: javascript vars to cf vars?
>
>
> this might sound s
this might sound stupid but - is it possible to put js vars (like, screen width) into
coldfusion vars?
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-ar
Yes you can pass a js value through the url like this
function some_function(some_parameter){
window.open("page.cfm?customer_number" + some_parameter);
}
I'm sure there are tons of other ways to do this, but this was trhe first
one that came to my mind
~
Wow, cool link, thanks :)
http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/GIFAs
> Pipe/
> Ron Allen Hornbaker
> President/CTO
> Humankind Systems, Inc.
> http://humankindsystems.com
> mailto:[EMAIL PROTECTED]
~~
Structure
Thanks for the help, I found that I can do this with the wddx sdk using a
hidden form var and wddx.js.
Charlie.
> -Original Message-
> From: Scott, Andrew [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 2:53 PM
> To: CF-Talk
> Subject: RE: Javascript VA
> Is it possible to pass a javascript var back to CF?
Here's a fun way (watch the wrap):
http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/GIFAs
Pipe/
If you've ever seen the NetFlix.com movie rating system, you'll know how
slick this can be.
Ron Allen Hornbaker
Presiden
ts back to the server using this method. It should give
you more of an insight into what can be achieved.
-Original Message-
From: Charlie McCormack [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2001 14:38
To: CF-Talk
Subject: RE: Javascript VARS
Is there any other way.
> -Ori
8:38 PM
Subject: RE: Javascript VARS
> Is there any other way.
>
> > -Original Message-
> > From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 21, 2001 2:22 PM
> > To: CF-Talk
> > Subject: Re: Javascript VARS
> >
&
name value pairs can be retrieved from the url with the location.search
property.
- Original Message -
From: "Charlie McCormack" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 9:38 PM
Subject: RE: Javascript
Is there any other way.
> -Original Message-
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 2:22 PM
> To: CF-Talk
> Subject: Re: Javascript VARS
>
>
> Sure. On a subsequent page - via a form variable...
>
> > Is
Sure. On a subsequent page - via a form variable...
> Is it possible to pass a javascript var back to CF?
>
> thanks,
>
> Charlie
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bk
Hi all,
Is it possible to pass a javascript var back to CF?
thanks,
Charlie
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@hous
20 matches
Mail list logo