Ver Mensaje Individual
  #6 (permalink)  
Antiguo 08/05/2007, 07:23
zyon
 
Fecha de Ingreso: septiembre-2005
Mensajes: 1.289
Antigüedad: 18 años, 7 meses
Puntos: 3
Re: Cargar un xml en un div

Perdon, crei que tal vez sabrias sobre lo de crear un Objeto Ajax, con la funcion estamos creando una instancia :P, pero aqui te lo dejo para que lo implementes...

Código HTML:
function objetoAjax(){
        var xmlhttp=false;
        try {
               xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
        } catch (e) {
               try {
                  xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
               } catch (E) {
                       xmlhttp = false;
               }
        }
 
        if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
               xmlhttp = new XMLHttpRequest();
        }
        return xmlhttp;
}
espero te funcione!
__________________
Wow! No se que decir...