Building or creating dynamic drop down
Posted on 2011-03-04
I need to build a dynamic dropdown list based on the selection of a other dropdown. Also I don't want to submit
the form since I have other data entry field on my form and don't want to lose the user entered data.
What is the best way to achive it using CF and/or Java Script. An example would really help to save the time since it is kind of urgent.
My first query is : select state from mydatabse.states
My second query is : select counties from mydatabase.counties where state = #state#
Thanks in Advance