最新国产好看的视频,伊人天堂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
新绛县| 阜新市| 仁布县| 云阳县| 罗江县| 临泉县| 巴青县| 三穗县| 扎兰屯市| 凤台县| 织金县| 浪卡子县| 尉氏县| 大余县| 扎兰屯市| 大悟县| 兴仁县| 沙湾县| 乳源| 普洱| 德昌县| 玛曲县| 道孚县| 聂拉木县| 和田市| 电白县| 女性| 仲巴县| 墨竹工卡县| 赞皇县| 从化市| 湟中县| 鹰潭市| 鲁山县| 寿阳县| 明光市| 沂南县| 登封市| 陵水| 克什克腾旗| 台山市|