IHTMLTextAreaElement::get_nameIHTMLTextAreaElement::get_name*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLTextAreaElement::get_form
*Next Topic: IHTMLTextAreaElement::get_onchange

IHTMLTextAreaElement::get_name


HRESULT get_name(
    BSTR *p 
);

Retrieves the name of the TEXTAREA element.

p
Address of a string variable that receives the name.

The name is used to bind the value of the control when submitting a form. The name is not the value that is displayed in the entry field of the element. Submitting the form submits the internally stored value, not the one displayed.

JScript allows the name to be changed at run time. This does not change the name in the programming model, in the collection of elements, but does change the name used for submitting elements.

See also put_name

Up Top of Page


IHTMLTextAreaElement::put_name


HRESULT put_name(
    BSTR v 
);

Sets the name of the TEXTAREA element.

v
String specifying the name.

The name is used to bind the value of the element when submitting a form. The name is not the value that is displayed in the entry field of the element. Submitting the form submits the internally stored value, not the one displayed.

JScript allows the name to be changed at run time. This does not change the name in the programming model, in the collection of elements, but does change the name used for submitting elements.

See also get_name


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