How do I make a function wait until all jQuery Ajax requests are done inside another function?
In short, I need to wait for all Ajax requests to be done before I exe
This is working for me It's very simple
return $.ajax({ type: 'POST', url: urlBaseUrl data: {someData:someData}, dataType: "json", success: function(resultData) { } });