Ver Mensaje Individual
Antiguo 02-abr-2008, 12:41   #6 (permalink)
vansert
vansert ha deshabilitado el karma
 
Avatar de vansert
 
Fecha de Ingreso: abril-2005
Mensajes: 27
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
vansert está desconectado   Responder Citando