Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/01/2005, 09:45
Avatar de Dianita
Dianita
 
Fecha de Ingreso: octubre-2004
Ubicación: Colombia
Mensajes: 37
Antigüedad: 19 años, 7 meses
Puntos: 0
Esta prodria ser una opción:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>cajas de texto y javascript - ejemplo 15</title>
</head>

<body bgcolor="#ffff99">
<center>
<b>S&oacute;lo para Internet Explorer</b><br><br>
<form onSubmit="return false;">
Este campo s&oacute;lo acepta n&uacute;meros:<br><br>
<input type=text name=txtPostalCode onKeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;">
</form>
</center>
</body>
</html>
__________________
Diana:adios: