On a project i got stuck on this "problem"
When you make a json (ajax) call. You also need a callback function.
Which means I have to call the next $.getJSON within that callback function to read the next portion of data.
In my opinion this is not very readable code...
What I want is a nice and readable piece of code. Where you could just write it like this:
var data1 = $.getJSON(..);
var data2 = $.getJSON(..);
But it's not compatible with the getJSON story.
Is there already a possibility to do this with the jquery library?