Export (0) Print
Expand All
8 out of 28 rated this helpful - Rate this topic

onload event

Raised when the object has been completely received from the server.

Internet Explorer 8

Syntax

HTML Attribute <element onload = "handler(event)">
attachEvent Method object.attachEvent("onload", handler)

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

This method has no parameters.

Standards information

There are no standards that apply here.

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.

Examples

Setting the onload property.



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

See also

XDomainRequest
Reference
onprogress
Conceptual
XMLHttpRequest Enhancements in Internet Explorer 8

 

 

Show:
© 2014 Microsoft. All rights reserved.