Tema
:
elimirar caracteres en blanco
Ver Mensaje Individual
#
2
(
permalink
)
29/01/2008, 04:56
ZiTAL
Fecha de Ingreso: marzo-2004
Ubicación: Bermio (Bizkaia)
Mensajes: 1.545
Antigüedad: 20 años, 11 meses
Puntos: 62
Re: elimirar caracteres en blanco
funcion trim para javascript
:
Código:
function trim(text) { text=text.replace(/^\text+|\text+$/g,''); return text; }
__________________
http://zital.no-ip.org
____________________
Euskerie ahuen eta bijotzan
ZiTAL
Ver Perfil
¡Visita mi Sitio!
Buscar todos los Mensajes de ZiTAL