What's the odd ball. Form has dynamic elements with each starts with the
letter of "A" (e.g., A1, A2, A..n) among other elements, form is passed to
cfajaxproxy/cfc/js combo and submitted multiple times (specifically submitted
at each element level, intended).
On the cfc end, partially code looks like this:
<cfset AList = "">
<cfloop item=i collection="#arguments#">
<cfif Left(i,1) IS "A">
<!-- or <cfif Left(i,1) IS "A" AND !ListFind(AList,"arguments.#i#")> --->
<cfset AList = ListAppend(AList,"arguments.#i#")>
</cfif>
</cfloop>
ListLast(AList) does not always return the last appended item, how come?
Envs: OS = Windows XP; CF = CF8 Stardard.
Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305102
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4