IHTMLFrameSetElement::get_onbeforeunloadIHTMLFrameSetElement::get_onbeforeunload*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLFrameSetElement::put_onbeforeunload
*Next Topic: IHTMLHeaderElement

IHTMLFrameSetElement::get_onbeforeunload


HRESULT get_onbeforeunload(
    VARIANT *p
);

Retrieves the inline script associated with the onbeforeunload event before a FRAME element is unloaded.

p
Address of a VARIANT structure that receives the script.

This event is fired before the onunload event. It provides an opportunity to warn the user if the window is currently in an unsaved state and the information will be lost.

See also put_onbeforeunload

Up Top of Page


IHTMLFrameSetElement::put_onbeforeunload


HRESULT put_onbeforeunload(
    VARIANT v
);

Sets the inline script associated with the onbeforeunload event before a FRAME element is unloaded.

v
VARIANT structure that contains the script to be set.

This event is fired before the onunload event. It provides an opportunity to warn the user if the window is currently in an unsaved state and the information will be lost.

See also get_onbeforeunload


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