Ver Mensaje Individual
  #6 (permalink)  
Antiguo 02/04/2008, 11:41
Avatar de vansert
vansert
 
Fecha de Ingreso: abril-2005
Mensajes: 28
Antigüedad: 19 años
Puntos: 0
Re: Cómo ejecutar Cód. JS y abrir los <scripts SRC> d una pag. obtenida con Ajax Resp

Actualmente lo estoy realizando asi, segui la indicacion del post.
Pero no se abren los scripts .js :(
Llevo harto rato pegado en esto...he realizado todos los seguimientos y no doy con la solución.

Este es mi código JS para interactuar con Ajax:

Código:
	 	AjaxOBJ.open("POST", "PresupuestoInicial_buscarTipoCuentas.php", true);
	    AjaxOBJ.setRequestHeader("Content-Type","application/x-www-form-urlencoded");

		AjaxOBJ.onreadystatechange=function() {
				
				if (AjaxOBJ.readyState==4) {

					if (AjaxOBJ.status==200){
						
						var scs = AjaxOBJ.responseText.extractScript();
						document.getElementById("cuentas_listado").innerHTML = AjaxOBJ.responseText;
						scs.evalScript();
					} 
				}
		}

		AjaxOBJ.send("tipo_cuenta_seleccionado="+ tipo_cuenta_seleccionado);
Saludos