What is AJAX event?
Ajax requests produce a wide variety of distinctive occasions that you can subscribe to. Here's a full listing of the activities and in what order they are triggered.
There are 2 types of events in Ajax
- Local Events: Local Events are callbacks that you can subscribe to inside the Ajax request object.
- Global Events: Global events are triggered on the document, calling any handlers who may be listening.
Example of Local Events
Example of Global Events