XMLHttpRequestEventTarget

Note: This feature is available in Web Workers, except for Service Workers.

XMLHttpRequestEventTarget is the interface that describes the event handlers shared on XMLHttpRequest and XMLHttpRequestUpload.

You don't use XMLHttpRequestEventTarget directly; instead you interact with the sub classes.

Inheritance for XMLHttpRequest

Inheritance for XMLHttpRequestUpload

Specifications

Specification
XMLHttpRequest Standard
# xmlhttprequesteventtarget

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
XMLHttpRequestEventTarget

See also