ColdFusion <cfselect> and populating the onChange() event with the user selected value.
Posted on 2007-03-27
This question is written in regards to the coldfusion tag <cfselect>.
I have researched using a <cfloop> or an <cfarray> to do this, but ideally I would like to set the value in the onchange() event of the <cfselect> tag. That way, I can work with a single user selection once they have made it during the submit form action.
The code examples are a straight-forward <cfselect> for a query so there is really nothing special to note there.
Thanks in advance for your suggestions.