Export (0) Print
Expand All

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

TopicDescription

abort

Cancels the current HTTP request.

getAllResponseHeaders

Returns the complete list of response headers.

getResponseHeader

Returns the specified response header.

msCachingEnabled

Gets the current caching state for an XMLHttpRequest.

open

Assigns method, destination URL, and other optional attributes of a pending request.

open (XDomainRequest)

Creates a connection with a domain's server.

overrideMimeType

Sets the Content-Type header for the response to the MIME provided. This method is not implemented in Internet Explorer.

parseFromString

Creates an instance of a document that contains a Document Object Model (DOM) tree from a string of serialized XML source.

send

Sends an HTTP request to the server and receives a response.

send (XDomainRequest)

Transmits a data string to the server for processing.

serializeToString

Converts nodes in a Document Object Model (DOM) tree to a string that contains an XML representation of the tree.

setRequestHeader

Adds custom HTTP headers to the request.

 

 

 

Show:
© 2014 Microsoft