Click to See Complete Forum and Search --> : SELECT OPTION


mcunha
April 15th, 2002, 02:53 PM
How can I tell the select control to display in alphabetic order ?


<html>
<body>

<form>
<select name="cars" size="3">
<option value="volvo">Volvo
<option value="saab">Saab
<option value="fiat">Fiat
<option value="audi">Audi
</select>
</form>

</body>
</html>






_______________________
mcunha@callisto.ca
Windows Software Programmer
Canada

Brad Jones
April 18th, 2002, 04:58 PM
This may seem like a stupid question, but why not just list them in alphabetical order?

Brad

Site Manager, CodeGuru.com
Check out my newest book (Sams Teach Yourself C# in 21 Days):
http://books.internet.com/books/0672320711