下拉菜单的一个应用问题?
设置分钟时,我用下拉菜单表示
<select name= "selm1 " id= "selm1 ">
<% for i=0 to 59 %>
<option value= " <%=i %> " > <%=i %> </option>
<% next %>
</select>
------------------------------------------------
但是正点就为3:0 怎么样让它表示为我们常用的3:00
------解决方案-------------------- <select name= "selm1 " id= "selm1 ">
<% for i=0 to 59
if i=0 then
response.write " <option value= "&i& " > 3:00 </option> "
else
response.write " <option value= "&i& " > 2: "&i& " </option> "
end if
next %>
</select>