Robert, I couldn't really get a feel for what you're doing but take a look at two options:
1) Doing an XHR called (Ajax) to a CF template to set it and do any work necessary. 2) Look into WDDX to help you exchange JS native data elements between CF. http://www.webmonkey.com/webmonkey/99/15/index3a_page4.html?tw=authoring Rey... David Low wrote: > That script won't work, as the CF code will already be executed before > the client-side Javascript does anything. CF might be able to write to > Javascript but can't read it. > > 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)</script>> >> >> >> >> 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 &. >> >> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287687 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

