Whats the error message you're receiving?

Rey...

sourrisseau wrote:
Hello,

it's the second time a send this message . But I can't see the first
one ... so sorry if you find it two time ...

My code work very well with mozilla but I doesn't with IE , I received
always the error message, if somme one could help me ...



/* 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>error</h1>");
                  }
        });
});

function afficher(){

        $(".bloc").each(function (x){
                taille = $(this).attr("format");
                haut = parseInt(hauteur[taille]);
                large = parseInt(largeur[taille]);
                $(this).height(haut*1.5);
                $(this).width(large);
        });
}


Thank you very much !!!

Sourrisseau

Reply via email to