Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

Requests a synchronous or asynchronous file download from a specific URL.

open (XDomainRequest)

Creates a connection with a domain's server.

overrideMimeType

Sets the Content-Type header for the response to the MIME provided.

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:
© 2015 Microsoft