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

srcElement Property

Internet Development Index

Sets or retrieves the object that fired the event.

Syntax

event.srcElement [ = oObject ]

Possible Values

oObject Object that specifies or receives the event that fired.

The property is read/write. The property has no default value.

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

The property is read-only in Microsoft® Internet Explorer 4.0, and read/write in Internet Explorer 5 and later.

Example

This example uses the srcElement property to retrieve the parent object, if needed, create the text range, move to the original object, and select the first word in the object.

<SCRIPT LANGUAGE="JScript">
function selectWord() {
var oSource = window.event.srcElement ;
if (!oSource.isTextEdit)
oSource = window.event.srcElement.parentTextEdit;
if (oSource != null) {
var oTextRange = oSource.createTextRange();
oTextRange.moveToElementText(window.event.srcElement);
oTextRange.collapse();
oTextRange.expand("word");
oTextRange.select();
}
}
</SCRIPT>

Standards Information

There is no public standard that applies to this property.

Applies To

event
香格里拉县| 安远县| 饶平县| 南陵县| 阜新| 兰西县| 长丰县| 玉环县| 鄂尔多斯市| 邹城市| 长武县| 简阳市| 平罗县| 广汉市| 即墨市| 扎赉特旗| 嘉定区| 安义县| 焦作市| 三河市| 乐山市| 册亨县| 临海市| 格尔木市| 长岛县| 通道| 顺昌县| 依安县| 忻城县| 柏乡县| 青州市| 独山县| 高雄县| 新干县| 清新县| 奉贤区| 龙门县| 元谋县| 邹平县| 房山区| 二连浩特市|