Posted by Marquez Design on 10/04/63 11:11
Greetings,
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>
The user has previously selected a category. That information is in the
database. Here they are editing the record. What I would like is for the
option that was selected and is in the database to be displayed as the
selectd option.
Does anyone know how I can do this, or can you point me in the right
direction?
Thank you,
--
Steve Marquez
Marquez Design
Navigation:
[Reply to this message]
|