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

type Property

Internet Development Index

Retrieves the type of selection.

Syntax

[ sType = ] selection.type

Possible Values

sTypeString that receives one of the following values.
noneNo selection/insertion point.
textSpecifies a text selection.
controlSpecifies a control selection, which enables dimension controls allowing the selected object to be resized.

The property is read-only. The property has no default value.

Remarks

The selection object is off the document object.

Example

This example uses the type property to create an alert that indicates the type of object selected by the user. If the user clicks the mouse pointer on the text "Some text", the alert reads "Text". If the user clicks the mouse pointer on the space to the right of the text, the alert reads "None".

<BODY onclick="alert(document.selection.type)">
Some text.

Standards Information

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

Applies To

selection
赣榆县| 承德县| 巴彦县| 读书| 砚山县| 湟中县| 静海县| 朝阳县| 灯塔市| 华安县| 淮北市| 建德市| 浙江省| 平遥县| 连江县| 鄢陵县| 商丘市| 阳谷县| 潼南县| 昭觉县| 德安县| 大余县| 文安县| 高雄县| 禄丰县| 五莲县| 鞍山市| 惠水县| 平邑县| 黄浦区| 鹿泉市| 中山市| 阳泉市| 崇左市| 乌拉特后旗| 蕲春县| 甘孜县| 高淳县| 桂东县| 玛曲县| 泉州市|