Contents Index Topic Contents | ||
Previous Topic: IHTMLFormElement::put_onreset Next Topic: IHTMLFormElement::submit |
IHTMLFormElement::get_onreset
HRESULT get_onreset( VARIANT *p );Retrieves the inline script associated with the onreset event for a FORM element. A reset event occurs when a user resets a form (clicks a Reset button).
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure that receives the script.
See also put_onreset
IHTMLFormElement::put_onreset
HRESULT put_onreset( VARIANT v );Sets the inline script associated with the onreset event for a FORM element. A reset event occurs when a user resets a form (clicks a Reset button).
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure that contains the new script.
See also get_onreset
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.