JackLawry
10-14-2005, 01:04 PM
Please be kind its my 1st real post!!!!
Im trying to get a form to post to a php page it is all working but i need it to be easier
eg
<select style="width:100;font-weight : bold" name="city1" tabindex=14>
<option value="Portsmouth">Portsmouth</option>
<option value="Poole">Poole</option>
<option value="Cherbourg">Cherbourg</option>
</select>
<select style="width:100;font-weight : bold" name="countryArr"tabindex=8>
<option value="GBR">UK</option>
<option value="FRA">FRANCE</option>
</select>
but i want it to be just one dropdown eg if you select poole or portsmouth it will automaticly select uk but if you select Cherbourg it will select france and the 2nd dropdown is hidden
any ideas???
Im trying to get a form to post to a php page it is all working but i need it to be easier
eg
<select style="width:100;font-weight : bold" name="city1" tabindex=14>
<option value="Portsmouth">Portsmouth</option>
<option value="Poole">Poole</option>
<option value="Cherbourg">Cherbourg</option>
</select>
<select style="width:100;font-weight : bold" name="countryArr"tabindex=8>
<option value="GBR">UK</option>
<option value="FRA">FRANCE</option>
</select>
but i want it to be just one dropdown eg if you select poole or portsmouth it will automaticly select uk but if you select Cherbourg it will select france and the 2nd dropdown is hidden
any ideas???