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

onsave Event

Internet Development Index

Fires from a persisted element when the Web page is saved or bookmarked, or when the user navigates away from the page.

Syntax

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

Event Information

BubblesNo
CancelsYes
To invoke
  • Save the Web page.
  • Bookmark the Web page.
  • Navigate to another page.
Default action Initiates any action associated with this script.

Available Properties

Available Properties

Example

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

<HTML>
<HEAD>
<META NAME="save" CONTENT="favorite">
<STYLE>
.saveFavorite {behavior:url(#default#savefavorite);}
</STYLE>
<SCRIPT>
function fnSaveInput(){
alert("The onsave event fired.");
oPersistInput.setAttribute("sPersistValue",oPersistInput.value);
}
function fnLoadInput(){
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, saveSnapshot
万全县| 黄大仙区| 陇川县| 甘谷县| 咸宁市| 钦州市| 东平县| 孝昌县| 万全县| 秭归县| 饶阳县| 抚松县| 仁布县| 偏关县| 昌乐县| 罗山县| 南乐县| 丰原市| 苗栗县| 天峻县| 芦溪县| 辽源市| 沛县| 长垣县| 民乐县| 崇左市| 禄丰县| 天水市| 专栏| 云林县| 兴义市| 水城县| 宜春市| 万全县| 阜城县| 治县。| 汽车| 军事| 攀枝花市| 昔阳县| 台中县|