Skip to content

Commit

Permalink
Define XMLHttpRequest failure (mdn#32447)
Browse files Browse the repository at this point in the history
* attempt to resolve mdn#31129

* Update files/en-us/web/api/xmlhttprequest/responsetext/index.md

Co-authored-by: wbamberg <[email protected]>

* Update files/en-us/web/api/xmlhttprequest/responsetext/index.md

---------

Co-authored-by: wbamberg <[email protected]>
  • Loading branch information
JayAgra and wbamberg authored Feb 29, 2024
1 parent 667bbe7 commit 062fca7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions files/en-us/web/api/xmlhttprequest/responsetext/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ following a request being sent.
## Value

A string which contains either the textual data received using the
`XMLHttpRequest` or `null` if the request failed or
`""` if the request has not yet been sent by calling
{{domxref("XMLHttpRequest.send", "send()")}}.
`XMLHttpRequest` or `""` if the request failed or if no content has been received yet.

While handling an asynchronous request, the value of `responseText` always
has the current content received from the server, even if it's incomplete because the
Expand Down

0 comments on commit 062fca7

Please sign in to comment.