setting the default date

R

Rani

guys I've created 3 combo boxes for a month date and a year
how do I set the value to be the default date ?
is there a more suphisticated way to do so ? herein is the code i am using

<select name="MoveDateMonth">
<option
selected>Jan
<option>Feb
<option>March
<option>Apr
<option>May
<option>June
<option>July
<option>Aug
<option>Sep
<option>Oct
<option>Nov
<option>Dec</option>
</select>
<select name="MoveDateDay">
<option
selected>1
<option>2
<option>3
<option>4
<option>5
<option>6
<option>7
<option>8
<option>9
<option>10
<option>11
<option>12
<option>13
<option>14
<option>15
<option>16
<option>17
<option>18
<option>19
<option>20
<option>21
<option>22
<option>23
<option>24
<option>25
<option>26
<option>27
<option>28
<option>29
<option>30
<option>31</option>
</select>
<select name="MoveDateYear">
<option>2002</option>
<option>2003</option>
<option>2004</option>
<option selected>2005</option>
<option>2006</option>
</select>
 
K

Kevin Spencer

What do you want the default date to be?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.
 
R

Rani

todays date
Kevin Spencer said:
What do you want the default date to be?

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Everybody picks their nose,
But some people are better at hiding it.
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top