posted 20 years ago
add the text 'selected="selected"' (without the single quotes) to the <option ... > elements you want to show up as defaults.
For example
[code]
<select id="s1">
<option value="1">One</option>
<option value="2" selected="selected">Two</option>
<option value="3">Three</option>
</select>
[code]
Will show the second option by default. If more than one has the parameter "selected" set, the last such will be defaulted.
[ June 04, 2004: Message edited by: Jeroen Wenting ]