Posted by Matt M. on 09/29/34 11:11
> Does anyone know how to get a particular option to display in a drop menu?
>
> <select name="category" id="category">
> <option selected="true" value="Option Value">Option Value</option>
> <option value="line">---------------------</option>
> <option value="value1 ">value1</option>
> <option value="value2 ">value2 </option>
> <option value="value3 ">value3</option>
> <option value="value4 ">value4</option>
> </select>
add selected="selected" to the option
<option value="value4 " selected="selected">value4</option>
Navigation:
[Reply to this message]
|