IHTMLDOMAttribute3::value Property
Gets or sets the value of the object.
Syntax
HRESULT IHTMLDOMAttribute3::get_value(BSTR *p); HRESULT IHTMLDOMAttribute3::put_value(BSTR v);
Parameters
- p
Pointer to a variable of type BSTR that receives the value.- v
BSTR that specifies the value.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Windows Internet Explorer 8 or later. In IE8 Standards mode, the IHTMLDOMAttribute3::value property is correctly reported as a canonical attribute name. For example,
<input type="text" readonly>
and<input type="text" readonly="readonly">
would both set the input text field to read-only. In IE8 mode, the value is evaluated as a canonical value,"readonly"
. In earlier document compatibility modes, it is evaluated as a Boolean value, VARIANT_TRUE. For more information, see Attribute Differences in Internet Explorer 8.IHTMLDOMAttribute3::value was introduced in Microsoft Internet Explorer 6.
See Also