IHTMLWindow2::get_onunloadIHTMLWindow2::get_onunload*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLWindow2::get_onscroll
*Next Topic: IHTMLWindow2::get_opener

IHTMLWindow2::get_onunload


HRESULT get_onunload(
    VARIANT *p 
);

Retrieves the inline script that is executed immediately before the page is unloaded.

p
Address of a VARIANT structure that contains the script.

See also put_onunload

Up Top of Page


IHTMLWindow2::put_onunload


HRESULT put_onunload(
    VARIANT v 
);

Specifies code to execute immediately before the page is unloaded.

v
VARIANT structure that contains the script to be set.

See also get_onunload


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