Skip to main content
Participant
May 30, 2008
Question

How to display javascript array values in coldfusion

  • May 30, 2008
  • 1 reply
  • 766 views
Hi all,

I am new to coldfusion.
I have a page which has multi select dropdown .After selecting click on ok button calls javascript and selected values of dropdown are populated in other multipick dropdown.

My question all the selected dropdown options I am storing in javascript array.
How can display those in coldfusion page.

Please resolve this .


Thanks in advance
    This topic has been closed for replies.

    1 reply

    Inspiring
    May 30, 2008
    Don't worry about it. When you submit your form, you have form fields to work with.
    Participant
    August 4, 2016

    I am facing same problem. I am aware about the solution that we can work with form fields.can you please explain in little detail.

    WolfShade
    Legend
    August 4, 2016

    Hi, hemantp1905092​,

    You resurrected an 8 year old thread. 

    As Dan Bracuk​ has answered, the selected values will be sent as part of the form scope.  If you want to display the entire array of each selection (which doesn't make sense, but okay), you can use AJaX to send the arrays to a .cfm page for display.

    HTH,

    ^_^