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


XMLHttpRequest Standard
# xmlhttprequesteventtarget

Browser compatibility

BCD tables only load in the browser

See also