
26/06/2002, 09:17
|
 | | | Fecha de Ingreso: noviembre-2001 Ubicación: santiago de shilli
Mensajes: 2.554
Antigüedad: 23 años, 5 meses Puntos: 0 | |
Re: Formateo de datos y demas esto es javascript.
Código:
<script language="Javascript">
function Valida(form)
{
if (isNaN(form.texto.value))
{ alert("Solo numeros");
form.texto.value="";
return; }
}
</script>
<form action="formulario">
<input type="text" name="texto" OnBlur="Valida(this.form);"><br>
</form>
|