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