I have some ajax calls in my document.ready()
like :
for (j=1; j <= 7; j++){
  (function(index) {
    $.getJSON('my.php', {id:index}, 
      function(data) {
         $.each(data, function(index2, array){
         ........
         });  
      });
    })(j)
} 
//DO NOT CONTINUE UNTIL FINISH AJAX CALLS   
 ........
MORE JQUERY CODE
How can i force it to wait and not continue until we get all the call backs from the ajax requests ?
 
     
     
     
     
     
     
    