danarashad
Programmer
Does anyone know a way for a Second Dropdown Populated by first drop down.
<cfquery name="school" datasource="#datasource#">
select name,ID from Schools order by name asc
</cfquery>
<form >
School: <select name="school" id="school">
<option value="">- Select A School-</option>
<cfoutput query="school">
<option value="#school.ID#">#school.name#</option>
</cfoutput>
</select>
This is all I have. I don't know what to do from here. I know i need a second query, and a second drop down.
<cfquery name="school" datasource="#datasource#">
select name,ID from Schools order by name asc
</cfquery>
<form >
School: <select name="school" id="school">
<option value="">- Select A School-</option>
<cfoutput query="school">
<option value="#school.ID#">#school.name#</option>
</cfoutput>
</select>
This is all I have. I don't know what to do from here. I know i need a second query, and a second drop down.