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

SELECTION Attribute | selection Property

Internet Development Index

Sets or retrieves whether the content can be selected with the mouse or keyboard.

Syntax

HTML<HTA:APPLICATION SELECTION = sSelection... >
Scripting[ sSelection = ] HTA:APPLICATION.selection

Possible Values

sSelectionString爐hat specifies one of the following values.
yesDefault. Content can be selected with the mouse or keyboard.
noContent cannot be selected with the mouse or keyboard.

The property is read-only. The property has a default value of yes.

Remarks

Note  The selection property is read only, however the SELECTION attribute can be used to set the initial value.

Setting the SELECTION attribute to no prevents the context menu from displaying. Setting the CONTEXTMENU attribute to yes has no effect in this case.

Note   The use of content editable elements overrides the selection property. When the contentEditable property is set to true anywhere in an HTML Application (HTA), any object may be selected.

Example

This example shows how to retrieve the selection property.

<HTML>
<HEAD>
<HTA:APPLICATION
ID=oHTA
CONTEXTMENU="yes"
SELECTION="no"/>
<TITLE>HTA Properties</TITLE>
<STYLE>
BODY {font-size: 8pt; font-family: Arial;}
</STYLE>
</HEAD>
<SCRIPT>
function readFun()
{
alert("The selection property is set to:  " + oHTA.selection);
}
</SCRIPT>
<BODY>
<P>Read the property:
<INPUT TYPE="button"  VALUE="Test selection value" onClick="readFun()"/>
</P>
</BODY>
</HTML>

Standards Information

There is no public standard that applies to this property.

Applies To

HTA:APPLICATION

See Also

contentEditable
襄城县| 天津市| 神农架林区| 西林县| 吕梁市| 北安市| 石楼县| 都昌县| 甘南县| 朝阳区| 临夏市| 白城市| 板桥市| 隆回县| 清镇市| 花垣县| 五家渠市| 鹿泉市| 西丰县| 阿鲁科尔沁旗| 花垣县| 镇赉县| 客服| 古蔺县| 岐山县| 泸水县| 新巴尔虎左旗| 沙洋县| 凤城市| 望谟县| 社旗县| 六枝特区| 皮山县| 巴林左旗| 赞皇县| 镇康县| 应用必备| 林州市| 河南省| 寿宁县| 唐海县|