Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/03/2011, 16:21
Avatar de IsaBelM
IsaBelM
Colaborador
 
Fecha de Ingreso: junio-2008
Mensajes: 5.032
Antigüedad: 15 años, 10 meses
Puntos: 1012
Respuesta: funciones invalidas en IE

puede que sea por la versión de ie que usas. prueba con de otra manera
Cita:
var obj = ["Msxml2.XMLHTTP","Msxml2.XMLHTTP.4.0","Msxml2. XMLH TTP.5.0","Msxml2.XMLHTTP.3.0","Microsoft.XMLHTTP"];
var objhttp = false;
for(var i=0 ; !objhttp && i<obj.length ; i++){
try{
objhttp = new ActiveXObject(obj[i]);
}
catch(e) {
objhttp = false;
}
}
if(!objhttp && typeof XMLHttpRequest!='undefined') {
objhttp = new XMLHttpRequest();
}
return objhttp;