Re: javscript array into a coldfusion array

2011-08-14 Thread Mo Lay
>I was forced to do something similar in the distant past. In my case it >was just a few name/value pairs coming out of Flash (Macromedia Flash, I >did say distant past!) I wrote the pairs to a cookie in js then read the >cookie into CF. Just a thought. It's easier to let CF handle all the heavy

Re: javscript array into a coldfusion array

2011-08-05 Thread Raymond Camden
http://experts.adobeconnect.com/cfjediopenroom On Fri, Aug 5, 2011 at 4:05 PM, Mo Lay wrote: > >>If you are around _right now_, and want to talk about this in an Adobe >>Connect room with others, thats an option too. Interested? >> >> >> > > > thanks RAymond, > > right , i want  to insert th

Re: javscript array into a coldfusion array

2011-08-05 Thread Randi Knutson
I was forced to do something similar in the distant past. In my case it was just a few name/value pairs coming out of Flash (Macromedia Flash, I did say distant past!) I wrote the pairs to a cookie in js then read the cookie into CF. Just a thought. It's easier to let CF handle all the heavy lift

Re: javscript array into a coldfusion array

2011-08-05 Thread Raymond Camden
If you are around _right now_, and want to talk about this in an Adobe Connect room with others, thats an option too. Interested? On Fri, Aug 5, 2011 at 3:49 PM, Raymond Camden wrote: > It also makes sense to consider - WHEN do you want to save the array? > WHAT exactly do you want to do with i

Re: javscript array into a coldfusion array

2011-08-05 Thread Raymond Camden
It also makes sense to consider - WHEN do you want to save the array? WHAT exactly do you want to do with it? It sounds like you want to store it to a db, right? So I assume your current app has an array of JS data, user clicks a button, and you want it to go to a CFM page that can insert it into

Re: javscript array into a coldfusion array

2011-08-05 Thread Raymond Camden
Well, you can encode an array as a string: 1,2,4,9 and then save that value into a hidden form field. How about this - I can do a blog post - but not till the morning. Someone else may reply sooner too. On Fri, Aug 5, 2011 at 3:45 PM, Mo Lay wrote: > >> You have to remember - JavaScript is on

Re: javscript array into a coldfusion array

2011-08-05 Thread Mo Lay
> You have to remember - JavaScript is on the client side. CF is on the > server side. > > If you have some data in a JS array, the only way to get it to CF is > to use Ajax, or to use JS to populate the values into a form field > and > submit the form. > > > On Fri, Aug 5, 2011 at 2:40 PM, Mo

Re: javscript array into a coldfusion array

2011-08-05 Thread Raymond Camden
You have to remember - JavaScript is on the client side. CF is on the server side. If you have some data in a JS array, the only way to get it to CF is to use Ajax, or to use JS to populate the values into a form field and submit the form. On Fri, Aug 5, 2011 at 2:40 PM, Mo Lay wrote: > > Hi A