www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Methods
 send Method
send Method

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

Syntax

XMLHttpRequest.send( [varBody])

Parameters

varBody Optional. Variant that specifies the body of the message being sent with the request.

Return Value

No return value.

Remarks

send was introduced in Windows Internet Explorer 7.

This method is synchronous or asynchronous, depending on the value of the varAsync parameter in the open method call. If synchronous, this call does not return until the entire response is received or the protocol stack time out period expires. If asynchronous, this call returns immediately.

This optional varBody parameter may be a String, array of unsigned bytes, or an XML Document Object Model (DOM) object. For additional information, see send Method (IXMLHTTPRequest).

Standards Information

This method is defined in The XMLHttpRequest Object (W3C Working Draft) World Wide Web link.

Applies To

XMLHttpRequest

See Also

open, setRequestHeader
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG