Note: This documentation is preliminary and is subject to change.
Contains the body of the response returned by the server.
Syntax
[ p = ] XDomainRequest.responseText
Possible Values
p | String that
receives
the text received from the server.
|
The property is read-only.
The property has no default value.
Remarks
The responseText value is valid only after either the
onprogress or onload events have occured.
Attempts to read the responseText property before it is valid cause an exception is raised.
After the onload event has occured,
responseText contains the complete server response.
In the time after the onprogress event occurs and before the onload event occurs,
responseText contains either a partial response or the complete server response.
The responseText value is an empty (zero-length)
string in two cases:
1. after the onprogress event has occured and before the first character has been received, and
2. after the onload event has occured and the server has returned an empty string as a response.
Example
For an example, see: IHTMLXDomainRequest.
Standards Information
There is no public standard that applies to this property.
Applies To
See Also
IHTMLXDomainRequest, XDomainRequest