I have a form that has two dropdown list, say state and county. I need to populate county dropdown list after selecting state from state dropdown list. The county dropdown should be disabled before selection of state is made. The state and county dropdown are populated from database query. So after selecting a state, the state will be used as a parameter to call a cfstoredproc to get a query result for populating county dropdown. The idea fo dropdown lists are as follows:
<select id="state" name="state" >
<option value="" > Select a State</option>
<option value="#state#" onclick="" >#state#</option>
<select id="county" name="county" >
<option value="" >Selec a County</option>
<option value="#county#" >#county#</option>
Thanks in advance.