Bonjour, j'ai un gros soucis et je ne comprends pas d'ou il vient.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
 
function majEtat(id) {
   var xhr_object = null;
   if(window.XMLHttpRequest) { // Firefox 
      xhr_object = new XMLHttpRequest(); 
   } else if(window.ActiveXObject) { // Internet Explorer 
      xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 
   }
   alert(xhr_object);
   xhr_object.open("GET", "majEtat.php?a="+id, true);
   xhr_object.send(null);
}
cette fonction s'execute très bien sous firefox mais pas sous IE... qqun aurait une idée du problème ?

en fait le script php appelé s'execute très bien lors de l'appel sous FF et pas sous IE...