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