Contents Index Topic Contents | ||
Previous Topic: IHTMLInputTextElement::put_onchange Next Topic: IHTMLInputTextElement::put_onselect |
IHTMLInputTextElement::get_onchange
HRESULT get_onchange( VARIANT *p );Retrieves the inline script associated with the onchange event on the INPUT text element. This occurs when the contents of the object have 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_onchange
IHTMLInputTextElement::put_onchange
HRESULT put_onchange( VARIANT v );Sets the inline script associated with the onchange event on the INPUT text element. This occurs when the contents of the object have 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_onchange
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.