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

EVENT Attribute | event Property

Internet Development Index

Sets or retrieves the event for which the script is written.

Syntax

HTML<SCRIPT EVENT = sEvent... >
ScriptingSCRIPT.event [ = sEvent ]

Possible Values

sEventString that specifies or receives the event. The value for an onmouseover event, for example, is "onmouseover()".

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.

Example

This example uses the EVENT attribute and the event property to handle the onclick event.

<SCRIPT ID=oButtonScript FOR="oButton" EVENT="onclick()">
var sMessage1 = "Flip"
var sMessage2 = "Flop"
if (oButton.innerText == sMessage1) {
oButton.innerText = sMessage2;
}
else {
if (oButton.innerText == sMessage2) {
oButton.innerText = sMessage1;
}
</SCRIPT>
</HEAD>
<BODY>
:
<BUTTON ID="oButton" onmouseout="alert(oButtonScript.event)">Flip</BUTTON>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

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

Applies To

SCRIPT

See Also

event
东乌珠穆沁旗| 双桥区| 镇江市| 庄浪县| 建始县| 乐业县| 岳阳市| 财经| 佛教| 伊吾县| 巴彦县| 西峡县| 石门县| 临沭县| 道孚县| 淅川县| 安溪县| 邢台市| 墨玉县| 乐业县| 黎城县| 乌鲁木齐县| 古田县| 西乌| 航空| 九寨沟县| 宜州市| 广灵县| 柘城县| 葵青区| 遂昌县| 大同市| 封开县| 九江县| 昌宁县| 绥中县| 凤庆县| 石首市| 沙坪坝区| 逊克县| 芜湖市|