Your CF code has already executed by the time the JS code executes - so 
using 'currentrow' for both won't work.

You might consider building a JS array based on your 'getItems' query, 
outside of your JS function, and then reference that array inside your 
JS function. Since JS array positioning starts with position 0, you'll 
either have to add in a dummy var at the start of your array to make the 
positions match up numerically, or tap 'currentrow -1' as the position 
in the JS array. *shrug*

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281189
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