IHTMLBodyElement::get_onloadIHTMLBodyElement::get_onload*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLBodyElement::put_onload
*Next Topic: IHTMLBodyElement::put_onunload

IHTMLBodyElement::get_onload


HRESULT get_onload(
    VARIANT *p
);

Retrieves the inline script associated with the onload event on the BODY element.

p
Address of a VARIANT structure that will hold the script.

See also put_onload

Up Top of Page


IHTMLBodyElement::put_onload


HRESULT put_onload(
    VARIANT v
);

Sets the inline script associated with the onload event on the BODY element. Occurs immediately after the browser loads the given object.

v
VARIANT structure that contains the script.

See also get_onload


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