IHTMLStyleElement::get_onloadIHTMLStyleElement::get_onload*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyleElement::get_onerror
*Next Topic: IHTMLStyleElement::get_onreadystatechange

IHTMLStyleElement::get_onload


HRESULT get_onload(
    VARIANT *p 
);

Retrieves the script associated with the onload event on the STYLE element. Occurs immediately after the browser loads the given object.

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

p
Address of a VARIANT structure that contains the script.

See also put_onload

Up Top of Page


IHTMLStyleElement::put_onload


HRESULT put_onload( 
    VARIANT v 
);

Sets the script associated with the onload event on the STYLE element. Occurs immediately after the browser loads the given object.

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

v
VARIANT structure that contains the script to be set.

See also get_onload


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