
17/07/2002, 13:00
|
 | | | Fecha de Ingreso: diciembre-2001
Mensajes: 5.286
Antigüedad: 23 años, 4 meses Puntos: 1 | |
Re: Decimales, Form y Option Selected <% valor=6.5 %>
<form>
<select name="nota">
<% for x=1.0 to 7.0 step 0.1 %>
<% if valor = FormatNumber(x,1) then %>
<option value="<%=FormatNumber(x,1)%>" selected><%=FormatNumber(x,1)%></option>
<% else %>
<option value="<%=FormatNumber(x,1)%>"> <%=FormatNumber(x,1)%></option>
<% end if %>
<% next %>
</select>
</form>
Saludos
<center>
<a href=http://comunidadguru.com><img border=0 src=http://comunidadguru.com/imagenes/logos/logo.gif></a>
</center> |