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

onload Event

Internet Development Index

Fires from a persistent element when the page reloads.

Syntax

Event propertyobject.onload = handlerJScript only
object.onload = GetRef("handler")Visual Basic Scripting Edition (VBScript) 5.0 or later only
Named script <SCRIPT FOR = object EVENT = onload> Internet Explorer only

Event Information

BubblesNo
CancelsYes
To invoke Load the persistent Web page from a favorite or shortcut or through an Internet address.
Default action Initiates any action associated with this script. The onload event for behaviors overrides the onload event for DHTML objects.

Available Properties

Available Properties

Example

This example shows how to use the onload event for a persistence behavior.

<HTML>
<HEAD>
<META NAME="save" CONTENT="favorite">
<STYLE>
.saveFavorite {behavior:url(#default#savefavorite);}
</STYLE>
<SCRIPT>
function fnSaveInput(){
oPersistInput.setAttribute("sPersistValue",oPersistInput.value);
}
function fnLoadInput(){
alert("The onload event fired.");
oPersistInput.value=oPersistInput.getAttribute("sPersistValue");
}
</SCRIPT>
</HEAD>
<BODY>
<INPUT class=saveFavorite onsave="fnSaveInput()" onload="fnLoadInput()"
type=text id=oPersistInput>
</BODY>
</HTML>
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

There is no public standard that applies to this event.

Applies To

saveFavorite, saveHistory
巴里| 锡林浩特市| 榆中县| 社会| 张家川| 广饶县| 东宁县| 芜湖县| 盖州市| 海城市| 阿克苏市| 临洮县| 全南县| 长兴县| 河间市| 井研县| 凭祥市| 儋州市| 诸暨市| 麻江县| 宝应县| 安顺市| 石台县| 荔波县| 东辽县| 恩平市| 隆化县| 邹平县| 苏尼特左旗| 宽甸| 鹰潭市| 谢通门县| 南部县| 高碑店市| 太和县| 华容县| 岐山县| 黄骅市| 涟水县| 江西省| 武宣县|