Click to return to the Reusing Browser Technology home page    
IHTMLFormElement Interfac...     IHTMLFormElement::get_dir...     IHTMLFormElement Interfac...    
Web Workshop  |  Reusing Browser Technology

IHTMLFormElement::get_action Method


Retrieves the address to be used to carry out the action of the form. If none is specified, the base URL of the document is used.

Syntax

HRESULT get_action(
    BSTR *p
);

Parameters

p
Address of a string (BSTR) that receives the address. For details, see the action property.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The way the data is submitted depends upon the value of the method and encoding properties.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLFormElement::put_action Method


Sets the address to be used to carry out the action of the form. If none is specified, the base URL of the document is used.

Syntax

HRESULT put_action(
    BSTR v
);

Parameters

v
String (BSTR) that specifies the address to set. For details, see the action property.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The way the data is submitted depends upon the value of the method and encoding properties.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.