A side note; there's no need to maintain that 'COUNT' variable as CF does this for you with the currentRow property of the cfquery object, so:
<cfloop query="get_cand"> <cfset htmlcontent = "htmlcontent#currentRow#"> <!--- or ---> <cfset showWindow = "showWindow#get_cand.currentRow#"> </cfloop> Dominic On 28/01/2008, Dominic Watson <[EMAIL PROTECTED]> wrote: > > A random guess, but try removing all the cfoutput tags and wrap the whole > lot in one cfoutput tag. Perhaps it is a whitespace thing...(?) > > Dominic > > > > I've got most of this working. I'm just having a hard time getting the > > cf variables > > to parse out when naming the javscript function. Everything works fine > > except > > when I try and wrap a cf variable around the function name. Any ideas? > > Thanks. > > > > > -- Blog it up: http://fusion.dominicwatson.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297598 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4