This page is Almost Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

load

Summary

After the onload event has occurred, responseText contains the complete server response.

Overview Table

Synchronous No
Bubbles No
Target dom/Element
Cancelable No
Default action
## Examples

Setting the onload property.

function loadd()
{
    alert("XDR onload");
    alert("Got: " + xdr.responseText);
}
...
xdr.onload = loadd;

Notes

Remarks

After the onload event has occurred, responseText contains the complete server response. To invoke this event, do one of the following:

  • Event handlers are called as needed after a request is sent.

Event handler parameters

This method has no parameters.

See also

Related pages

  • XDomainRequest
  • Reference
  • onprogressonprogress
  • Conceptual
  • XMLHttpRequest Enhancements in Internet Explorer 8

Attributions