class XMLHttpRequest
package js.html
extends XMLHttpRequestEventTarget › EventTarget
Available on HTML5
XMLHttpRequest
is an API that provides client functionality for transferring data between a client and a server. It provides an easy way to retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just a part of the page without disrupting what the user is doing.
Documentation XMLHttpRequest by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Constructor
Variables
Returns an ArrayBuffer
, Blob
, Document
, JavaScript object, or a DOMString
, depending on the value of XMLHttpRequest.responseType
. that contains the response entity body.
Methods
open (method:String, url:String, async:Bool, ?user:String, ?password:String):Void
open (method:String, url:String):Void
Throws:
null | DOMError |
---|
send (data:ArrayBuffer):Void
send (data:ArrayBufferView):Void
send (data:HTMLDocument):Void
Throws:
null | DOMError |
---|