How do I make a function wait until all jQuery Ajax requests are done inside another function? 我如何讓一個函數等到全部jQuery Ajax請求都在另外一個函數中完成以後? ide
In short, I need to wait for all Ajax requests to be done before I execute the next. 簡而言之,在執行下一個請求以前,我須要等待全部Ajax請求完成。 But how? 可是如何? 函數