Raised when the object has been completely received from the server.
Syntax
Named script <SCRIPT FOR = object EVENT = onload> Internet Explorer only
SCRIPT FOR
EVENT
Event Information
BubblesNoCancelsNoTo invoke Event handlers are called as needed after a request is sent. Default action N/A
Remarks
After the onload event has occurred, responseText contains the complete server response.
Example
Setting the onload property. function loadd() { alert("XDR onload"); alert("Got: " + xdr.responseText); } ... xdr.onload = loadd;
Setting the onload property.
function loadd() { alert("XDR onload"); alert("Got: " + xdr.responseText); } ... xdr.onload = loadd;
Applies To
XDomainRequest, XDomainRequest Constructor
See Also
onprogress, XMLHttpRequest Enhancements in Internet Explorer 8