[jQuery] IE ajax bug ....
Hello ,
Firstable , sorry for my English ... I'm French and for me it's not
simple to write this language.
I have a problem with IE when I used $.ajax fonction.
/* Variable global */
var idFormat=new Array();
var largeur=new Array();
var hauteur=new Array()
$(document).ready( function(){
req ={};
req["action"]= "format";
$.ajax({
type: "GET",
data: req,
url: "BD/utilisateur.php",
success: function(x){
a = x.split("<coupe>");
a.pop();
for (i=0;i<a.length;i++){
b = a[i].split("<sep>");
idFormat[i+1] = b[0];
largeur[i+1] = b[2];
hauteur[i+1] = b[3];
}
},
error : function(x){
alert("<h1>taille div</h1>");
}
});
});
This code work very well on firefox, but is not working for IE. If
somebody have a solution, I will be very glad of your helpfull !!!
Thank you very much !!!
Sourrisseau