request|xml|xmlhttprequest| objects Common XMLHttpRequest Object Methods
| Method |
Description |
| Abort () |
Stops the current request |
| getAllResponseHeaders () |
Returns complete set of headers (labels and values) as a string |
| getResponseHeader ("headerlabel") |
Returns the string value of a single header label |
| Open ("method", "URL" [, Asyncflag[, "userName" [, "password"]]) |
Assigns destination URL, method, and optional attributes of a pending request |
| Send (content) |
Transmits the request, optionally with postable string or DOM object data |
| setRequestHeader ("label", "value") |
Assigns a Label/value pair to the header to is sent with a request |
Common XMLHttpRequest Object Properties
| Property |
Describe |
| onReadyStateChange |
Event handlers for events that occur each time the state changes |
| ReadyState |
Object state Value:
- 0 = uninitialized (uninitialized)
- 1 = loading (loading)
- 2 = loading complete (loaded)
- 3 = interaction (interactive)
- 4 = complete (complete)
|
| ResponseText |
The string form of the data returned from the server process |
| Responsexml |
DOM-compliant document data objects returned from the server process |
| Status |
Numeric code returned from the server, such as 404 (not Found) or 200 (ready) |
| StatusText |
String information for accompanying status codes |