Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/12/2004, 11:44
Avatar de mrgubu
mrgubu
 
Fecha de Ingreso: febrero-2002
Ubicación: Granada
Mensajes: 431
Antigüedad: 23 años
Puntos: 2
No termina de funcionarme. Estoy haciendo esto:

Código:
<script language="JavaScript">
<!--
function validar() {
  ma=parseInt(document.nombreFormulario.maximo.value);
  mi=parseInt(document.nombreFormulario.minimo.value);
  if(ma<mi) {alert("Algo no va bien");
  }
}

-->
</script>

<form action="xxx.asp" name="nombreFormulario" method="post"  >

<input name="maximo" type="text" size="8" MAXLENGTH="8" value=""><BR>
<input name="minimo" type="text" size="8" MAXLENGTH="8" value=""><BR>
<input type="button" value=buscar onClick="validar()">

</form>
No sé que estoy haciendo mal, no furula

Última edición por mrgubu; 13/12/2004 a las 11:45 Razón: pequeño fallo