I have four funcion as this. Each one them is working.
$.ajax({
url: sectoresURL,
context: document.body,
timeout: 10000 // 1000 MS = 10 Seconds
}).done(function(jsonSectores) {
// Blablabla...
});
but when I must display each one them on screen, the last funcion is showing first than the first function... (Yes, It's correct because It takes less time).
For example:
Get Http://... 200 ms
Get Http://... 150 ms
Get Http://... 100 ms
Get Http://... 50 ms
So, How to Handle it? I'd like to show on screem the first function, then, the second function, ..., etc.
Aucun commentaire:
Enregistrer un commentaire