I currently have this dropdown box...
<td>Block:
<select name="block" id="block">
<option>[Please select a block]</option>
<option value="Boiler House Block">Boiler House Block</option>
<option value="Lower Ground Floor">Lower Ground Floor</option>
<option value="Main Kitchen/Resturant">Main Kitchen/Resturant</option>
</select>
</td>
...and would like to add another drop down box called "area" that is dynamic, so depending on what is selected in "block" depends on what is shown in the "area" drop down box.
I know I have to use Javacript to do this but could someone please help or provide an example of the Javascript that is needed?
<td>Block:
<select name="block" id="block">
<option>[Please select a block]</option>
<option value="Boiler House Block">Boiler House Block</option>
<option value="Lower Ground Floor">Lower Ground Floor</option>
<option value="Main Kitchen/Resturant">Main Kitchen/Resturant</option>
</select>
</td>
...and would like to add another drop down box called "area" that is dynamic, so depending on what is selected in "block" depends on what is shown in the "area" drop down box.
I know I have to use Javacript to do this but could someone please help or provide an example of the Javascript that is needed?