Contents Index Topic Contents | ||
Previous Topic: IHTMLTextAreaElement::get_name Next Topic: IHTMLTextAreaElement::get_onselect |
IHTMLTextAreaElement::get_onchange
HRESULT get_onchange( VARIANT *p );Retrieves the inline script associated with the onchange event for the TEXTAREA element. The onchange event occurs when the contents of the object have changed.
For more information on inline script, 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
IHTMLTextAreaElement::put_onchange
HRESULT put_onchange( VARIANT v );Sets the inline script associated with the onchange event for the TEXTAREA element. The onchange event occurs when the contents of the object have changed.
For more information on inline script, 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.