Forums

ASP

This topic is locked

Dynamic List / Initial Select

Posted 07 Aug 2006 21:40:26
1
has voted
07 Aug 2006 21:40:26 jay mr posted:
Hey Gang,

Got a little problem.


I have a dynamic list menu box that is populating correcting with data
in a table.


I would like to have however the initial option shown being one that is
manually entered. Currently the initial option selecting is the last
record in the recordset and not the manually entered option.


Does anyone know how to make that work?


Thanks.




Replies

Replied 09 Aug 2006 08:07:04
09 Aug 2006 08:07:04 Dan Berdusco replied:
Couldn't you just add the "selected" tag to the listing that you want initially selected?
<pre id=code><font face=courier size=2 id=code>&lt;option value="#" selected&gt;Selected option&lt;/option&gt; </font id=code></pre id=code>

Reply to this topic