defaultSelected property
Sets or retrieves the status of an option.
Syntax
HRESULT value = object.put_defaultSelected( v);HRESULT value = object.get_defaultSelected(* p);
Property values
Type: VARIANT_BOOL
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Remarks
The property can be changed programmatically, but doing so has no effect on the appearance of the option or the submitted value. The property does change the appearance of the selected option if the form is reset.
See also
Show: