yes the right value.
It s just I can't iterate here for example:
let day=getdata(classImage,-1,0,1);
console.log(day)
for (let l = 0; l < day.length; l++) {
console.log(day[l])
}
the console.log(day) return right value array with value, length...
if I console.log( day.length ) it say zero
and so the console.log(day[l]) never happen, I i log day.length it said zero.
I thing there is something with
I add it and it works....
https://stackoverflow.com/questions/9269...ost-jquery
It s just I can't iterate here for example:
let day=getdata(classImage,-1,0,1);
console.log(day)
for (let l = 0; l < day.length; l++) {
console.log(day[l])
}
the console.log(day) return right value array with value, length...
if I console.log( day.length ) it say zero
and so the console.log(day[l]) never happen, I i log day.length it said zero.
I thing there is something with
Code:
$.ajaxSetup({async:false}); //execute synchronously
I add it and it works....
https://stackoverflow.com/questions/9269...ost-jquery
-----------
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT