Contents Index Topic Contents | ||
Previous Topic: IHTMLObjectElement::put_onreadystatechange Next Topic: IHTMLObjectElement::put_onerror |
IHTMLObjectElement::get_onreadystatechange
HRESULT get_onreadystatechange( VARIANT *p );Retrieves the inline script associated with the onreadystatechange event on the OBJECT element. This event is fired whenever the readyState for the object has changed.
- 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_onreadystatechange
IHTMLObjectElement::put_onreadystatechange
HRESULT put_onreadystatechange( VARIANT v );Sets the inline script associated with the onreadystatechange event on the OBJECT element. This event is fired whenever the readyState for the object has changed.
- 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_onreadystatechange
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.