...

View Full Version : help with drop down



fazzfarrell
10-13-2006, 12:18 PM
Hi I have created the following for adropdown menu
//<form id="frmBasket" name="frmBasket" method="post">
<select name="DelCon" id="DelCon" onchange="UpdateQuantity()">
<option Selected="True"><?php echo $HTTP_POST_VARS["DelCon"]?></option>
<option value="UK">UK</option>
<option value="AGUILLA">AGUILLA</option>
<option value="ALBANIA">ALBANIA</option>
<option value="ALGERIA">ALGERIA</option>///

When you initally load the page the top menu is blank, but when you choose a country (say UK) it appears in the top of the menu.

I want UK to appear when the page first loads, and then change when you select another country.

Thanks

Kor
10-13-2006, 12:33 PM
simply select the options you want:


<select name="DelCon" id="DelCon" onchange="UpdateQuantity()">
<option><?php echo $HTTP_POST_VARS["DelCon"]?></option>
<option selected value="UK">UK</option>
<option value="AGUILLA">AGUILLA</option>
<option value="ALBANIA">ALBANIA</option>
<option value="ALGERIA">ALGERIA</option>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum