最新国产好看的视频,伊人天堂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
同德县| 惠东县| 余江县| 利辛县| 读书| 广饶县| 惠来县| 庄河市| 东辽县| 德安县| 永州市| 德令哈市| 西充县| 黑龙江省| 共和县| 英吉沙县| 济宁市| 汤阴县| 合阳县| 集安市| 尤溪县| 清苑县| 丹巴县| 东辽县| 沽源县| 承德县| 怀柔区| 阿克苏市| 青浦区| 乌海市| 武乡县| 克东县| 娱乐| 伊春市| 盖州市| 太康县| 萨嘎县| 斗六市| 霍邱县| 东平县| 无棣县|