Ver Mensaje Individual
  #14 (permalink)  
Antiguo 11/04/2008, 10:34
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Problema al redireccionar a otra pagina, al finalizar llamada Ajax

Como adicional, puedes probar esto (usando el código de arriba):
Código:
function Rellenar_Bd( url ) {
	var theURL = url + "&" + Math.random();
	
	$('contenedor').style.height="650px";
	Element.show('contenedor');
	
	new Ajax.PeriodicalAjax(theURL, {
		method: 'get', 
		frequency: 0.7,
		decay: 1,
		onSuccess: function(res) {
			if( res.responseText == "1" ) {
				this.stop();
                                setTimeout( function() {
                                          Element.hide('loading_tablas');
				          window.location = 'index.php?seccion=2&act=3';
                                }, 1000 );
			}
		}
	});
}
Saludos.