IHTMLImgElement::get_onloadIHTMLImgElement::get_onload*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLImgElement::put_onload
*Next Topic: IHTMLImgElement::put_onerror

IHTMLImgElement::get_onload


HRESULT get_onload(
    VARIANT *p
);

Retrieves the inline script associated with the onload event for an IMG element. The onload event occurs immediately after the browser loads the given object.

p
Address of a VARIANT structure that receives the script.

See also put_onload

Up Top of Page


IHTMLImgElement::put_onload


HRESULT put_onload(
    VARIANT v
);

Sets the inline script associated with the onload event for an IMG element. The onload event occurs immediately after the browser loads the given object.

v
VARIANT structure that contains the new script.

See also get_onload


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.