Contents Index Topic Contents | ||
Previous Topic: IHTMLInputFileElement::put_onselect Next Topic: IHTMLInputFileElement::put_value |
IHTMLInputFileElement::get_onselect
HRESULT get_onselect( VARIANT *p );Retrieves the inline script associated with the onselect event for an INPUT type=file element. An onselect event occurs 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 receives the script.
See also put_onselect
IHTMLInputFileElement::put_onselect
HRESULT put_onselect( VARIANT v );Sets the inline script associated with the onselect event for an INPUT type=file element. An onselect event occurs 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 new script.
See also get_onselect
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.