www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 responseText Property
responseText Property
New for Windows Internet Explorer 8
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

pString 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

XDomainRequest

See Also

IHTMLXDomainRequest, XDomainRequest
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG