My Blog List

Saturday, July 5, 2008

A List of XHR Properties and Corresponding Definitions

Properties

Definitions

onreadystatechange

An event handler that fires when the state of the request object changes.

readyState

Returns number values that indicate the current state of the object. These values are listed in Table 2.3.

responseText

String version of the response from the server.

responseXML

DOM-compatible document object of the response from the server.

status

Status code of the response from the server.

statusText

A status message returned as a string.

No comments: