Is there a Java \'finally\' analogue in jQuery AJAX calls? I have this code here. In my always I throw an exception, however I ALWAYS want it to go to the
if you want one code definition for all ajax requests, you can do it like this
$(document).ajaxComplete(function () { console.log('ajax complete on doc'); })