
29/06/2007, 08:03
|
 | | | Fecha de Ingreso: enero-2002 Ubicación: USA
Mensajes: 768
Antigüedad: 23 años, 1 mes Puntos: 1 | |
Re: Ajax en Ubuntu + IE Les comento otra cosa.
Esta es la función que utilizo:
function creaAjax(){
var objetoAjax=false;
try {
/*Para navegadores distintos a internet explorer*/
objetoAjax = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e) {
try {
/*Para explorer*/
objetoAjax = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (E) {
objetoAjax = false;
}
}
if (!objetoAjax && typeof XMLHttpRequest!='undefined') {
objetoAjax = new XMLHttpRequest();
}
return objetoAjax;
}
Le coloque un alert para ver por pantalla objetoAjax y XMLHttpRequest
En Firefox, me pinta: "[false]" y "[XMLHttpRequest]" respectivamente.
Pero en IE me pinta "[object]"
Tendrá esto algo que ver?? y si es asi, porque antes de instalar el Ubuntu todo funcionaba bien.?
__________________ José Molina
La marginalidad no esta en la incapacidad de calmar el hambre de un estómago sino en la incapacidad de calmar el hambre de la mente. |