XDomainRequest Prototype
Defines the properties and methods inherited by objects in the XDomainRequest prototype chain.
Syntax
HTML N/A Scripting XDomainRequest.prototype
Members Table
The following table lists the members exposed by the XDomainRequest Constructor object.
Attributes/Properties
Property Description contentType Gets the Content-Type property in the HTML request or response header. responseText Contains the body of the response returned by the server. timeout Gets or sets the value of the timeout property. Events
Event Property Description onerror Raised when there is an error that prevents the completion of the cross-domain request. onload Raised when the object has been completely received from the server. onprogress Raised when the browser starts receiving data from the server. ontimeout Raised when there is an error that prevents the completion of the request. Methods
Remarks
For more information on this and other DOM Prototypes see Document Object Model Prototypes, Part 1: Introduction.
This prototype does not derive from any objects.
Applies To
XDomainRequest
See Also