Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/03/2006, 20:20
-thor-
 
Fecha de Ingreso: febrero-2006
Mensajes: 446
Antigüedad: 18 años, 2 meses
Puntos: 3
No me resulta
Código:
<html>
<title>pagina</title>
<head>
<script>
funcion alMenosUno(a, b, c) {
return (a != "" || b != "" || c != "");
}
</script>

</head>
<body>


<form name=formulario action=pagina.php method=post>
<INPUT type="text" name="fichas_azules"  size="5" maxlength="6"
onKeyPress="return acceptNumNumero(event)">&nbsp;
<INPUT type="submit" name="ficha" value="ingreso_ficha"
onsubmit="return alMenosUno(fichas_azules.value,fichas_verdes.value, fichas_rojas.value)">

<INPUT type="text" name="fichas_rojas"  size="5" maxlength="6"
onKeyPress="return acceptNumNumero(event)">&nbsp;
<INPUT type="submit" name="ficha1" value="ingreso_ficha1">

<INPUT type="text" name="fichas_verdes"  size="5" maxlength="6"
onKeyPress="return acceptNumNumero(event)">&nbsp;
<INPUT type="submit" name="ficha2" value="ingreso_ficha2">
</form>
</body>
</html>