Ver Mensaje Individual
  #4 (permalink)  
Antiguo 28/06/2004, 11:22
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Hola de nuevo.
Código HTML:
<html>
<head>
<script>
function tecla(e) {
	no=' áéíóú'; //añade los caracteres que necesites
	t=(document.all) ? e.keyCode : e.which;
	t=String.fromCharCode(t)
	if(no.indexOf(t)>=0) return false;
}
</script>
</head>

<body>
<input type="text" onkeypress="return tecla(event)" />
</body>
</html> 
Saludos,