![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
27/04/2004, 09:08
|
![Avatar de Evert](http://static.forosdelweb.com/customavatars/avatar62887_8.gif) | | | Fecha de Ingreso: abril-2004 Ubicación: Cochabamba - Bolivia
Mensajes: 94
Antigüedad: 20 años, 9 meses Puntos: 2 | |
Esto lo puedes resolver con javascript Hola
el problema que tienes lo puedes resolver con java script, pero de todos modos te paso el script
<SCRIPT language=JavaScript>
<!--
var nav4 = window.Event ? true : false;
function Num(evt){
// NOTE: Backspace = 8, Enter = 13, '0' = 48, '9' = 57
var key = nav4 ? evt.which : evt.keyCode;
return (key <= 13 || (key >= 48 && key <= 57));
}
</script>
y la llmada al funcion es
<input name="numero" type="Text" onkeypress="return acceptNum(event)"> |