You do understand that the browser needs to be reloaded for this dont you? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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/
