Ver Mensaje Individual
  #9 (permalink)  
Antiguo 04/03/2004, 10:47
Avatar de AlZuwaga
AlZuwaga
Colaborador
 
Fecha de Ingreso: febrero-2001
Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 23 años, 3 meses
Puntos: 535
Perfecto Charly!

Sólo modifiqué esta línea:
Código:
if (p.value.substring(0,7) != "http://") p.value="http://"+p.value

Por esta:
Código:
if ((p.value.substring(0,7) != "http://") && (p.value != '')) p.value="http://"+p.value
Para que no agregue "http://" si el text queda vacío.

Muchas gracias por tu ayuda.


Dentro de poco se viene otro mangazo