Thanks Dick. You confirmed my thinking. I'm fairly new at this but seem to
be on the right track. I was hoping to use the JavaScript results on my
first page, so will have to put in a blank processing page with a
window.location="URL" to pass the results to my first page. If I could only
figure how to get the same results using only CF. I understand that there
are some custom tags for finding "browser info and IP address" but the
company hosting my site is rather slow in letting me know if those tags are
installed or not. Is there any other way to do it in CF?

I'm glad I joined this list.

Michael Gribbin

----------
>From: Dick Applebaum <[EMAIL PROTECTED]>
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Re: JavaScript variables passed to ColdFusion
>Date: Sat, Feb 3, 2001, 12:30 AM
>

> JavaScript variables exist on he client side, CF variables exist on
> the server side.
>
> The usual way you pass information from the client to the server is
> via form fields or URL parameters.
>
> So, you must first place the JavaScript-generated values into form
> variables or a URL variables with associated names.
>
> Then, when you submit the form or "link" the URL the variabkes are
> passed as Name/Value pairs.
>
> When your CF routine is invoked, the Name/value pairs are available as either
>
>    form.variablename
>
>      or
>
>    URL.variablename
>
>      or
>
>    variablename
>
>
> where variablename is the name of the field in the form or in the URL
>
> HTH
>
> Dick
>
>
>
>
>
>
> At 11:17 PM -0800 2/2/01, Michael Gribbin wrote:
>>How do I get variables generated by JavaScript to be recognized by
>>ColdFusion? I would like to do different things based on JavaScript results.
>>When ever I try to put a JavaScript variable into a CFSET or CFIF I get an
>>error that says "ColdFusion was unable to determine the value of the
>>parameter".
>>
>>Thanks for any help.
>>
>>Michael Gribbin
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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