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

select Method

Internet Development Index

Makes the selection equal to the current object.

Syntax

object.select()

Return Value

No return value.

Remarks

When applied to a TextRange object, the select method causes the current object to be highlighted. The following function uses the findText method to set the current object to the text in the TextRange object. The function assumes an element that contains the text string "text here".

function TextRangeSelect() {
var r = document.body.createTextRange();
r.findText("text here");
r.select();
}

When applied to a controlRange collection, the select method produces a shaded rectangle around the elements in the controlRange. The following function uses the add method to set the current object to an element in the controlRange collection. The function assumes an element with an id of "aaa".

function ControlRangeSelect() {
var r = document.body.createControlRange();
r.add(document.all.aaa);
r.select();
}

This feature might not be available on non-Microsoft® Win32® platforms.

Standards Information

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

Applies To

TextRange, controlRange
洪泽县| 四川省| 鄂州市| 嫩江县| 综艺| 色达县| 福清市| 长治县| 哈密市| 大余县| 游戏| 泸州市| 怀来县| 桂阳县| 克拉玛依市| 兴文县| 吕梁市| 石楼县| 南澳县| 关岭| 津南区| 原平市| 顺义区| 克什克腾旗| 龙州县| 鹤山市| 松潘县| 麻城市| 五常市| 逊克县| 定结县| 庄浪县| 绵竹市| 涿州市| 油尖旺区| 白朗县| 奉新县| 凤山市| 大田县| 班玛县| 正蓝旗|