Selecting Item in Drop Down List Box

A

Andrew

I have a Drop Down List box of all of the days in the month (1-31). I
would like to set a specific item as selected when the user drops down
the box. For example, if the current value is 19, when the user drops
the box down, I would like the highlight to be on the 19 in the list,
how do I do this?

Thanks.

Jeff
(e-mail address removed)
 
J

Jukka K. Korpela

Andrew said:
I have a Drop Down List box of all of the days in the month (1-31).

Replace it by a text input field. Which one is faster, typing "30" or
scrolling down a menu and trying to choose "30" there? Not to mention
the possibility of being forced to _listen_ to "select one of the
following: one, two, three, four, five, ..." until you hear "thirtyone"
and realize that you just skipped "thirty" and don't know what to do.
I would like to set a specific item as selected when the user
drops down the box.

<input type="text" id="month" name="month" size="2" maxlength="2"
value="19">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top