Ver Mensaje Individual
  #5 (permalink)  
Antiguo 06/05/2011, 06:25
ranndyxd
 
Fecha de Ingreso: febrero-2011
Mensajes: 20
Antigüedad: 13 años, 1 mes
Puntos: 1
Respuesta: validar espacios en blanco

Cita:
Iniciado por JavierB Ver Mensaje
Hola de nuevo.

Te pongo un poco de código:
Código PHP:
<html>
<
head>
<
script type="text/javascript">
function 
pulsar(e) {
  
tecla=(document.all) ? e.keyCode e.which;
  if(
tecla==32) return false;
}
</script>
</head>
<body>
<input type="text" onkeypress="return pulsar(event)" />
</body>
</html> 
Saludos,

Gracias si me sirvió !!!