Ver Mensaje Individual
  #8 (permalink)  
Antiguo 28/06/2010, 16:50
Avatar de darkgaze
darkgaze
 
Fecha de Ingreso: febrero-2006
Ubicación: Madrid, España
Mensajes: 462
Antigüedad: 18 años, 2 meses
Puntos: 2
Respuesta: Qué necesito para comenzar a funcionar con Ajax en local?

Bien, novedades:

si que pone errores, lo estaba mirando mal:

- uncaught exception "node not found".
- Request Not Defined. En los 3 sitios donde hago llamada a mi función
crear_instancia_xmlhttprequest()

que hace el clásico:
Código Javascript:
Ver original
  1. function crear_instancia_xmlhttprequest (){
  2.     var objetoAjax = false;
  3.     try {
  4.         // navegadores que no son explorer.
  5.         objetoAjax = new ActiveXObject("Msxml2.XMLHTTP");
  6.         return objetoAjax;
  7.     }
  8.     catch (e){
  9.         try {
  10.             // para explorer
  11.             objetoAjax = new ActiveXObject("Microsoft.XMLHTTP");
  12.         }
  13.         catch (e) {
  14.             objetoAjax = false;
  15.         }
  16.         if (!objetoAjax && typeof XMLHttpRequest != 'undefined')
  17.             objetoAjax = new XMLHttpRequest();
  18.            
  19.         return objetoAjax;
  20.     }
  21. }


Alguna idea?
__________________
Darkgaze