Hey Chad
I don't know much about this, but you could cheat by putting your 'extra' variable into the array - say at the 'top' and then use this in step 3, and load your array data from the second position.
Antony
Who wonders where Chad's 'funny' sigs have gone
On 8/29/05, Chad Renando <[EMAIL PROTECTED]> wrote:
Mmmm... no... don't think so. Steps 1, 2 and 3 are happening with no
reload at the moment. All I want to do is tack on an extra variable.
I can tack on an extra variable when passing from step 1 to step 2,
but I don't know how to pass an extra one out of the cffunction.
Chad
On 8/29/05, Steve Onnis < [EMAIL PROTECTED]> wrote:
> You do understand that the browser needs to be reloaded for this dont you?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chad
> Renando
> Sent: Monday, August 29, 2005 4:43 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] Passing variables between cffunction and _javascript_
>
>
> Asked this Q before re: an issue I have with CFAjax. Figured I wasn't
> clear enough (as the alternative is that I was being ignored...and it
> couldn't be that) ;)
>
> In a nutshell... here's what's going on...
>
> 1. The _javascript_ function "getCounty()" gets the state value passed from
> the
> drop-down and passes it to the cffunction "countylookup".
>
> 2. The cffunction "countylookup" grabs the appropriate counties for
> the state and passes them back to the _javascript_ function
> "getCountyResult(countyArray)" using "<cfreturn county>".
>
> 3. The _javascript_ function "getCountyResult(countyArray)" populates the
> county
> drop-down list with the array passed from step 2 above.
>
> QUESTION
> How would I pass a variable from step 1 to step 3? If I pass it into
> step 2, can I pass another variable out of step 2 in addition to doing
> "<cfreturn county>"?
>
> Sorry, still coming up to speed on passing stuff between cffunctions
> and _javascript_.
>
> Cheers,
>
> Chad
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
--- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
