jQuery ajax provides methods for triggering events before, during, and after an ajax request. Please view the api here for a complete list.
Here are a few methods that are called after the completion of each ajax request.
jQuery.ajaxComplete () - register a handler that will be called when Ajax requests are completed.
jQuery.ajaxSuccess () - Show a message when an Ajax request completes successfully
These functions allow you to pass a callback function to run after an event occurs. In this callback function, check if the content you want to download is loaded, then show the note.
Sample code for the above methods can be found here:
http://api.jquery.com/ajaxComplete/
http://api.jquery.com/category/ajax/
Hope this helps.
Uttam source share