Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/12/2010, 14:54
Avatar de stock
stock
 
Fecha de Ingreso: junio-2004
Ubicación: Monterrey NL
Mensajes: 2.390
Antigüedad: 20 años, 8 meses
Puntos: 53
Respuesta: Problema con concatenacion

Intenta hacer lo siguiente:

Código Javascript:
Ver original
  1. function off_pop(padre,hijo){
  2.     var padre = document.getElementById(padre);
  3.     var hijo = document.getElementById(hijo);
  4.     setTimeout(function(){
  5.         $(padre).hide('slow')
  6.     },700);
  7.     $(hijo).slideUp("slow");
  8. }

No deberías usar string's dentro de la función setTimeout ;)

Saludos