4. Properties of XMLHttpRequest Object (Extended)

The total 8 properties in the XMLHttpRequest Object are described in the table
below. The Constructor and TimeOut propertes are the latest and works from IE 8
onwards.


Property

Description

constructor

Returns a reference to the constructor of an object.

readyState

Retrieves the current state of the request operation.

responseBody

Retrieves the response body as an array of unsigned bytes.

responseText

Retrieves the response body as a string.

responseXML

Retrieves the response body as an XML Document Object Model (DOM) object.

status

Retrieves the HTTP status code of the request.

statusText

Retrieves the friendly HTTP status of the request.

timeout


Gets or sets the time-out value.

No need to remeber all these. The main properties are already discussed in
detail here.

Go To Lesson 5