年月日 表单
作者:cmscn 日期:2008-08-07
<td><select name=iyear><%
dim bires,birse
for i=1990 to year(now)
birse=""
if int(year(bires))=int(i) then
birse=" selected"
end if
response.write vbcrlf&"<option value='"&i&"'"&birse&">"&i&"</option>"
next
response.write vbcrlf&"</select>年 <select name=imonth>"
for i=1 to 12
birse=""
if int(month(bires))=int(i) then
birse=" selected"
end if
response.write vbcrlf&"<option value='"&i&"'"&birse&">"&i&"</option>"
next
response.write vbcrlf&"</select>月 <select name=iday>"
for i=1 to 31
birse=""
if int(day(bires))=int(i) then
birse=" selected"
end if
response.write vbcrlf&"<option value='"&i&"'"&birse&">"&i&"</option>"
next
%></select>日<%response.write redx%></td>
评论: 0 | 引用: 0 | 查看次数: 469
发表评论