IHTMLFormElement::action Property

Sets or retrieves the URL to which the form content is sent for processing.

Syntax


HRESULT IHTMLFormElement::get_action(BSTR *p);HRESULT IHTMLFormElement::put_action(BSTR v);

Parameters

p
Pointer to a variable of type BSTR that receives the URL to use. If a relative path is specified, the base URL of the document is assumed.
v
BSTR that specifies the URL to use. If a relative path is specified, the base URL of the document is assumed.

Return Value

Returns S_OK if successful, or an error value otherwise.

Community Additions

Show: