Methods
This section describes the methods associated with XMLHttpRequest (XHR), Cross-domain request (XDR), and other features associated with Asynchronous JavaScript and XML (AJAX).
In this section
| Topic | Description |
|---|---|
|
Cancels the current HTTP request. | |
|
Returns the complete list of response headers. | |
|
Returns the specified response header. | |
|
Gets the current caching state for an XMLHttpRequest. | |
|
Requests a synchronous or asynchronous file download from a specific URL. | |
|
Creates a connection with a domain's server. | |
|
Sets the Content-Type header for the response to the MIME provided. | |
|
Creates an instance of a document that contains a Document Object Model (DOM) tree from a string of serialized XML source. | |
|
Sends an HTTP request to the server and receives a response. | |
|
Transmits a data string to the server for processing. | |
|
Converts nodes in a Document Object Model (DOM) tree to a string that contains an XML representation of the tree. | |
|
Adds custom HTTP headers to the request. |