Posted by howachen on 09/11/06 11:12
Hi, is it possible to have a pre-defined value for select box which
mean "select nothing"?
e.g.
<select name="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="fiat">Fiat</option>
<option value="audi">Audi</option>
</select>
I want to have an option something like <option value="xxx">Please
Select</option>
and when the form get
it will shown in the query string only IF it was selected.
e.g.
test.php?car=Saab
but the default is just:
test.php
[Back to original message]
|