Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

value property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the value which is returned to the server when the form control is submitted.

HTML 4.01 Specification, Section 17.6.1

Syntax

HRESULT value = object.put_value(BSTR v);HRESULT value = object.get_value(BSTR* p);

Property values

Type: BSTR

the value of a control object which is passed as a name/value pair to the server, when an object is submitted.

Standards information

Remarks

Individual control objects return a value to the server only if they have been selected by the user.

You may pass server-friendly data directly to the server without confusing the user. The user sees only the innerText displayed, and not the IHTMLOptionElement::value.

 

 

Build date: 6/6/2012

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.