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.
- Returns S_OK if successful, or an error value otherwise.
- 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
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.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.