最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

SELECTED Attribute | selected Property

Internet Development Index

Sets or retrieves whether the option in the list box is the default item.

Syntax

HTML<OPTION SELECTED ... >
ScriptingOPTION.selected [ = bSelected ]

Possible Values

bSelectedBoolean that specifies or receives one of the following values.
falseDefault. Item is not selected as the default.
trueItem is selected as the default.

The property is read/write. The property has a default value of false.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

If the property is not set, the first item is selected by default.

The property determines whether a value is submitted with the form. If the value of the control matches the default value, the control's value is not submitted. The value is submitted only when the control's value does not match the default value.

To select an item in HTML, it is not necessary to set the value of the SELECTED attribute to true. The mere presence of the SELECTED attribute set its value to true.

Standards Information

This property is defined in HTML 3.2 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

OPTION

See Also

defaultSelected
巴林右旗| 尤溪县| 雷波县| 连云港市| 台东市| 彭泽县| 红桥区| 新竹市| 佛教| 聂拉木县| 邹城市| 靖西县| 永济市| 新闻| 柘荣县| 厦门市| 容城县| 綦江县| 南平市| 剑阁县| 罗城| 莲花县| 泸溪县| 八宿县| 开鲁县| 渭南市| 苍梧县| 南雄市| 日照市| 宣武区| 两当县| 石首市| 电白县| 讷河市| 叙永县| 宣化县| 诸暨市| 开远市| 麻阳| 巫山县| 益阳市|