IHTMLFormElement::get_onsubmitIHTMLFormElement::get_onsubmit*
*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).

p
Address of a VARIANT structure that receives the script.

See also put_onsubmit

Up Top of Page


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).

v
VARIANT structure that contains the script to be set.

See also get_onsubmit


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.