Sets or retrieves the value which is returned to the server when the form control is submitted.
HRESULT value = object.put_value( v);HRESULT value = object.get_value(* p);
the value of a control object which is passed as a name/value pair to the server, when an object is submitted.
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 17.6.1
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 IHTMLOptionElement4::value.