I have two drop-down fields - 1) Project 2) Version. Note that each Project will have one or more Versions associated with it.
The values of each drop-down are driven by a database. After the call to the database has been made, the Project drop-down will look similar to this:
Ok, now I need to display the Versions in a drop-down. But, I only want to display the versions that are associated with whatever Project the user has selected.
Can anyone point me in the right direction on how to do this?
It may be worth noting that the functionality I'm looking for is very close to, if not exactly, how those auto sites work where you select your "Make" then you select your "Model".
Thanks
The values of each drop-down are driven by a database. After the call to the database has been made, the Project drop-down will look similar to this:
Code:
<select name="project">
<option value="1">Proj1
<option value="2">Proj2
<option value="3">Proj3
</select>
Ok, now I need to display the Versions in a drop-down. But, I only want to display the versions that are associated with whatever Project the user has selected.
Can anyone point me in the right direction on how to do this?
It may be worth noting that the functionality I'm looking for is very close to, if not exactly, how those auto sites work where you select your "Make" then you select your "Model".
Thanks