Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/01/2008, 05:01
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años, 1 mes
Puntos: 772
Re: quitar comas y puntos

Hola zhares

Prueba este ejemplo:

Código PHP:
<html>
<
head>
<
script type="text/javascript">
function 
pulsar(e) {
  
tecla = (document.all) ? e.keyCode e.which;
  return (
tecla!=44 && tecla!=46);
}
</script>
</head>
<body>
<input type="text" onkeypress = "return pulsar(event)" />
</body>
</html> 
Saludos,