You are here: HTML Select problem « HTML « IT news, forums, messages
HTML Select problem

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация