onload property

Gets or sets the method to handle the onload event.

 

Syntax

HRESULT value = object.put_onload(VARIANT v);HRESULT value = object.get_onload(VARIANT p);

Property values

Type: VARIANT

the event handler.

Remarks

The onload event occurs when the object has been completly received from the server.

After the onload event has occured, IHTMLXDomainRequest::responseText contains the complete server response.

See also

Reference

IHTMLXDomainRequest

XDomainRequest

IHTMLXDomainRequest::responseText