Skip navigation
Currently Being Moderated

cfselect with onchange

Feb 27, 2012 4:06 AM



I need to use a list where the user will be able to choose a value and based on the value choosen, I need to pass the value in the same form and resubmit it




< option>Select</option> <option value = “A>A</option>





< option>Select</option> <option value = “B>B</option>



Based on the above selection, I need to assign the value of a selection to a variable in the same form and resubmit it

<cfset selectedValue="#selectedvalue#">


I am not sure if there is any other way to do it


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points