Ajax
zeug
-
Utilisateur anonyme -
Utilisateur anonyme -
Bonjour,
je travail sur joomla, et un problème sur un module de recherche qui utilise ajax.mon problème es que IE6 n'arrive pa a faire fonctionner l'ajax du moteur de recherche.je ne sais pas quoi faire .
voici ma fonction ajax:
this.createAJAX = function() {
try {
this.xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e1) {
try {
this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e2) {
this.xmlhttp = null;
}
}
if (! this.xmlhttp) {
if (typeof XMLHttpRequest != "undefined") {
this.xmlhttp = new XMLHttpRequest();
} else {
this.failed = true;
}
}
};
je vs merci
je travail sur joomla, et un problème sur un module de recherche qui utilise ajax.mon problème es que IE6 n'arrive pa a faire fonctionner l'ajax du moteur de recherche.je ne sais pas quoi faire .
voici ma fonction ajax:
this.createAJAX = function() {
try {
this.xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e1) {
try {
this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e2) {
this.xmlhttp = null;
}
}
if (! this.xmlhttp) {
if (typeof XMLHttpRequest != "undefined") {
this.xmlhttp = new XMLHttpRequest();
} else {
this.failed = true;
}
}
};
je vs merci