Man, just do an ajax call with your client side variable as a url
parameter (or post if you want to get fancy) and have CF process that
and save it as a var... I think you are trying to over-complicate it ;) 


Chris Peterson
Gainey IT
Adobe Certified Advanced Coldfusion Developer

-----Original Message-----
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 04, 2007 9:51 AM
To: CF-Talk
Subject: RE: Java Script Value to CF Value

I see the error of my ways. I'm missing client sided variables with
server sided variables... oh well, back to the drawing board.


Robert B. Harrison
Director of Interactive services
Austin & Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext.
119 F : 631.434.7022 www.austin-williams.com

Great advertising can't be either/or... It must be &.

-----Original Message-----
From: Ryan Stille [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 04, 2007 9:45 AM
To: CF-Talk
Subject: Re: Java Script Value to CF Value

You'll need two pages or steps to get this value - one for the form
itself, then when you submit that form you can have the value.

<form action="mypage.cfm">
<input type="hidden" name="wide">
</form>

<script language="JavaScript">
document.forms[0].wide.value = document.images[0].height;
document.forms[0].submit(); </script>


Robert Harrison wrote:
> I have a value I'm retrieving from Java Script.  I need to set it to a

> CF value. What is the correct syntax. Below does not work, but it 
> makes the point on what I'm trying to do. How do I do this correctly?
>
>  
>
> <cfset wide=<script
> language='javascript'>document.write(document.images[0].height)</scrip
> t>>
>
>  
>
> Thanks,
>
>  
>
>  
>
> Robert B. Harrison
> Director of Interactive services
> Austin & Williams
> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 
> 119
>
> F : 631.434.7022
> www.austin-williams.com
>
> Great advertising can't be either/or... It must be &.
>
>
>
> 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287693
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to