.ajaxStop()
fires after completion of all AJAX requests on your page.
$( document ).ajaxStop(function() {
yourFunction();
});
If you want to run code after all ajax requests complete you can use this method for it. In some cases you may want to use some html append etc. methods. Now you can use and trigger the codes you want to use after complete all ajax requests.
If you want to know how to use the .ajaxComplete() method ? Visit this : https://slaford.com/html/how-to-use-ajaxcomplete-jquery-method/