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 <[email protected]> wrote:
>
> Hi All,
>
> How to get the contents of a javscript array into acoldfusion array? I am 
> coding in Coldfusion MX7.0 and Javascript. My problem is that i am unable to 
> get the values of a javascript array into a coldfusion array. I have a 
> javascript array containing some values. Now i want to insert the values 
> present in this javascript array into the database through a Insert query 
> (within a <cfquery> tag).
>
> thank you
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5393
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to