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

save Method

Internet Development Index

Saves an object participating in userData persistence to a UserData store.

Syntax

userData.save(sStoreName)

Parameters

sStoreName Required. String爐hat specifies the arbitrary name assigned to a persistent object within a UserData store.

Return Value

No return value.

Remarks

The save method writes information into a UserData store. You can determine access to a UserData store by specifying a path within the immediate directory tree between the Web root and the current folder. For example, if you save the UserData store in the /private/ folder, a Web page located in the /public/ folder cannot access the UserData store.

This method requires an object participating in userData persistence, where that object has an ID and a class name equal to the desired persistence behavior.

Example

This example uses the save method to save an object participating in userData persistence to a UserData store.

<HEAD>
<STYLE>
.userData {behavior:url(#default#userdata);}
</STYLE>
<SCRIPT>
function fnLoad(){
oPersistInput.load("oDataStore");
oPersistInput.value=oPersistInput.getAttribute("sPersistAttr");
}
function fnSave(){
oPersistInput.setAttribute("sPersistAttr",oPersistInput.value);
oPersistInput.save("oDataStore");
}
</SCRIPT>
</HEAD>
<BODY >
<INPUT type=text class=userData id=oPersistInput>
<INPUT type=button value="Load Attribute" onclick="fnLoad()">
<INPUT type=button value="Save Attribute" onclick="fnSave()">
</BODY>
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 method.

Applies To

userData

See Also

Introduction to DHTML Behaviors, Introduction to Persistence
米林县| 安阳市| 大余县| 松潘县| 河源市| 竹山县| 鄂托克旗| 扶余县| 大埔县| 绥棱县| 西贡区| 襄樊市| 巴彦淖尔市| 明溪县| 岳普湖县| 开江县| 南丰县| 南木林县| 历史| 中山市| 太谷县| 罗甸县| 肥乡县| 当涂县| 潜江市| 永昌县| 乾安县| 卓尼县| 涿鹿县| 建德市| 崇义县| 平塘县| 方城县| 桑日县| 江川县| 视频| 东阳市| 潞西市| 图木舒克市| 苏尼特左旗| 乌海市|