Returns a Document containing the response to the request, or null if the request was unsuccessful, has not yet been sent, or cannot be parsed as XML or HTML. Returns the serialized URL of the response or the empty string if the URL is null. Is an enumerated value that defines the response type. Returns a DOMString that contains the response to the request as text, or null if the request was unsuccessful or has not yet been sent. Returns an ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, depending on the value of XMLHttpRequest.responseType, that contains the response entity body. Returns an unsigned short, the state of the request. XMLHttpRequest.onreadystatechangeĪn Event handler that is called whenever the readyState attribute changes. This interface also inherits properties of XMLHttpRequestEventTarget and of EventTarget.