• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to display javascript array values in coldfusion

New Here ,
May 30, 2008 May 30, 2008

Copy link to clipboard

Copied

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

Views

656

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 30, 2008 May 30, 2008

Copy link to clipboard

Copied

Don't worry about it. When you submit your form, you have form fields to work with.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 03, 2016 Aug 03, 2016

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 04, 2016 Aug 04, 2016

Copy link to clipboard

Copied

LATEST

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,

^_^

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation