I want to send [1, n) AJAX-requests to the server and after all have returned a result a modal dialog should be closed.
$.when(a(), b(), c()) would be perfect, but I don't know how to pass the variable count of functions to
$.when as parameter. Any ideas how to solve this problem?
©2020 All rights reserved.