When Unobtrusive ajax performs an ajax call, it doesn't appear to call the global jquery ajax events. Here is an example of my attempt to handle the event.
$(document).ajaxComplete(function () { alert('test'); });
The event works fine if I make ajax calls like this:
$.ajax({
url: "/myurl",
type: 'GET',
success: function (data) { //do something }
});
Any idea how to set up a global handle for all ajax complete events, regardless of their source? Or how to handle global events for Unobtrusive Ajax?