IHTMLLinkElement::get_onloadIHTMLLinkElement::get_onload*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLLinkElement::put_onload
*Next Topic: IHTMLLinkElement::put_onerror

IHTMLLinkElement::get_onload


HRESULT get_onload(
    VARIANT *p 
);

Retrieves the inline script associated with the onload event on the LINK element. This event occurs immediately after the browser loads the given object.

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_onload

Up Top of Page


IHTMLLinkElement::put_onload


HRESULT put_onload(
    VARIANT v 
);

Sets the inline script associated with the onload event on the LINK element. This event occurs immediately after the browser loads the given object.

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_onload


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