IHTMLWindow2::get_onerrorIHTMLWindow2::get_onerror*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLWindow2::get_onblur
*Next Topic: IHTMLWindow2::get_onfocus

IHTMLWindow2::get_onerror


HRESULT get_onerror(
    VARIANT *p 
);

Retrieves the inline script associated with the onerror event on the window element.

For more information on inline scripts, see Attaching an Event Handler in the Event Model documentation.

v
Address of a VARIANT structure that contains the onerror script.

See also put_onerror

Up Top of Page


IHTMLWindow2::put_onerror


HRESULT put_onerror(
    VARIANT v 
);

Sets the inline script associated with the onerror event on the window element.

For more information on inline scripts, see Attaching an Event Handler in the Event Model documentation.

v
VARIANT structure that contains the onerror script to be set.

See also get_onerror


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