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 |
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
XDomainRequestReference- onprogressonprogress
ConceptualXMLHttpRequest Enhancements in Internet Explorer 8
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]