![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
26/01/2005, 09:45
|
![Avatar de Dianita](http://static.forosdelweb.com/customavatars/avatar76137_1.gif) | | | Fecha de Ingreso: octubre-2004 Ubicación: Colombia
Mensajes: 37
Antigüedad: 20 años, 4 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ólo para Internet Explorer</b><br><br>
<form onSubmit="return false;">
Este campo sólo acepta nú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: |