The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.
Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order.
The function to call when a request is aborted.
The function to call when a request encounters an error.
The function to call when an HTTP request returns after successfully loading content.
A function that is called when the load is completed, even if the request failed.
A function that gets called when the HTTP request first begins loading data.
A function that is called periodically with information about the progress of the request.
A function that is called if the event times out; this only happens if a timeout has been previously established by setting the value of the XMLHttpRequest object's timeout attribute.
Removes the event listener previously registered with EventTarget.addEventListener.