[jQuery] Queue event after getJSON request

[jQuery] Queue event after getJSON request


I'm trying to queue to start once a getJSON request has finished but
it's not working, I'm getting '...queue is not a function'.
I've tried
$.getJSON("http://....", function (data){
$.each(data, function(i,item){
...
});
}).queue(function(){
$("#div").fadeIn();
});
and
$.getJSON("http://....", function (data){
$.each(data, function(i,item){
...
}).queue(function(){
$("#div").fadeIn();
});
});
but I get the same error. I've tried with 1.3.2 and 1.2.6.