Compartir a través de


onload property

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onload event. The HTMLFrameSiteEvents::onload event occurs immediately after the browser loads the object.

Syntax

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

Property values

Type: VARIANT

the IDispatch interface of an object with a default method that is invoked when the event occurs.

Remarks

Windows Internet Explorer 9. This event is also available on IHTMLDocument7and IHTMLElement6.

See also

Reference

IHTMLDocument3::attachEvent

IHTMLDocument3::attachEvent