Well.... can can cause coldfusion to set javascript variables based on coldfusion variables....
<cfset foo = structNew()> <cfset foo.bar1 = 1> <cfset foo.bar2 = 2> <cfset foo.bar3 = 3> <script language="javascript"> <cfwddx action="CFML2JS" input="#foo#" toplevelvariable="foo"> alert(foo["bar1"]); </script> but the only way coldfusion will ever know what's in a javascript variable is via some kind of http request (like an AJAX call) And that won't occur until after the page has been completely processed by coldfusion. rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275963 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4