Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/11/2007, 07:07
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
Re: ayuda con funcion replace

Hola rezocrew

Prueba con esto:

Código:
txt = 'juan pablo del valle';
txt = txt.replace(/\s/g,'');
alert(txt);
Saludos,