最新国产好看的视频,伊人天堂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
如东县| 崇明县| 郧西县| 白水县| 南投市| 岫岩| 濉溪县| 松潘县| 柏乡县| 章丘市| 温泉县| 临高县| 华蓥市| 吉林市| 微山县| 舞钢市| 安多县| 玉树县| 新巴尔虎右旗| 松江区| 边坝县| 吕梁市| 固原市| 东莞市| 运城市| 山东| 无锡市| 涿鹿县| 冕宁县| 旅游| 萝北县| 大洼县| 方山县| 大城县| 织金县| 红河县| 罗江县| 湛江市| 兴业县| 光山县| 会泽县|