Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
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).
Syntax
HRESULT get_onsubmit( VARIANT *p );
Parameters
- p
- Address of a VARIANT structure that receives the script.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
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).
Syntax
HRESULT put_onsubmit( VARIANT v );
Parameters
- v
- VARIANT structure that contains the script to be set.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.