Contents Index Topic Contents | ||
Previous Topic: IHTMLSelectElement::put_onchange Next Topic: IHTMLSelectElement::put_selectedIndex |
IHTMLSelectElement::get_onchange
HRESULT get_onchange( VARIANT *p );Retrieves the inline script associated with the onchange event on the SELECT element. This occurs when the contents of the object have changed.
For more information on inline scripts, see Attaching an Event Handler in the Event Model documentation.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure that contains the script.
See also put_onchange
IHTMLSelectElement::put_onchange
HRESULT put_onchange( VARIANT v );Sets the inline script associated with the onchange event on the SELECT element. This occurs when the contents of the object have changed.
For more information on inline scripts, see Attaching an Event Handler in the Event Model documentation.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure that contains the script to be set.
See also get_onchange
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.