IHTMLLinkElement::get_onerrorIHTMLLinkElement::get_onerror*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLLinkElement::put_onerror
*Next Topic: IHTMLLinkElement::get_styleSheet

IHTMLLinkElement::get_onerror


HRESULT get_onerror(
    VARIANT *p 
);

Retrieves the inline script associated with the onerror event on the LINK element. An error event occurs when the loading of a document or image causes an error.

p
Address of a VARIANT structure that contains the script.

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

See also put_onerror

Up Top of Page


IHTMLLinkElement::put_onerror


HRESULT put_onerror(
    VARIANT v 
);

Sets the inline script associated with the onerror event on the LINK element. An error event occurs when the loading of a document or image causes an error.

v
VARIANT structure that contains the script to be set.

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

See also get_onerror


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