Contents Index Topic Contents | ||
Previous Topic: IHTMLTextAreaElement::get_onchange Next Topic: IHTMLTextAreaElement::get_readOnly |
IHTMLTextAreaElement::get_onselect
HRESULT get_onselect( VARIANT *p );Retrieves the inline script associated with the onselect event for the TEXTAREA element. The onselect event fires at the beginning of a user-initiated select. This event can be canceled, and it participates in the bubbling model.
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_onselect
IHTMLTextAreaElement::put_onselect
HRESULT put_onselect( VARIANT v );Sets the inline script associated with the onselect event for the TEXTAREA element. The onselect event fires at the beginning of a user-initiated select. This event can be canceled, and it participates in the bubbling model.
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_onselect
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.