Contents Index Topic Contents | ||
Previous Topic: IHTMLInputImage::put_onload Next Topic: IHTMLInputImage::put_onerror |
IHTMLInputImage::get_onload
HRESULT get_onload( VARIANT *p );Retrieves the inline script associated with the onload event for an INPUT type=image element. An onload 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 receives the script.
See also put_onload
IHTMLInputImage::put_onload
HRESULT put_onload( VARIANT v );Sets the inline script associated with the onload event for an INPUT type=image element. An onload 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 new script.
See also get_onload
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.