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

expires Property

Internet Development Index

Sets or retrieves the expiration date of data persisted with the userData behavior.

Syntax

XMLN/A
ScriptinguserData.expires [ = sUTCString ]

Possible Values

sUTCStringString that specifies or receives the expiration date in UTC (Universal Time Coordinate) format.

The property is read/write. The property has no default value.

Remarks

The expires property designates the amount of time that persisted information is available. Microsoft® Internet Explorer removes the persisted information when the browser checks the date and the designated time has expired.

Example

This example uses the expires property to set the expiration date of persisted data to one minute after the information is persisted.

<STYLE>
.userData { behavior: url(#default#userdata)}
</STYLE>
<SCRIPT>
function fnSave(){
var oTimeNow = new Date(); // Start Time
oTimeNow.setMinutes(oTimeNow.getMinutes() + 1);
var sExpirationDate = oTimeNow.toUTCString();
oPersistDiv.expires = sExpirationDate;
oPersistDiv.setAttribute("sData",oPersistText.value);
// Save the persistence data as "sTimeout".
oPersistDiv.save("sTimeout");
}
</SCRIPT>
:
<DIV CLASS = "userData" ID=oPersistDiv onsave = "fnSave()" >
<INPUT TYPE=text ID=oPersistText>

Standards Information

There is no public standard that applies to this property.

Applies To

userData

See Also

Introduction to Persistence
武城县| 即墨市| 白朗县| 镇赉县| 正阳县| 平远县| 江陵县| 视频| 长阳| 大荔县| 三穗县| 右玉县| 湖口县| 丰原市| 金溪县| 古田县| 远安县| 清远市| 开化县| 克什克腾旗| 道真| 灵山县| 诸城市| 郧西县| 潍坊市| 农安县| 抚宁县| 大名县| 驻马店市| 资兴市| 婺源县| 西贡区| 洛浦县| 苍梧县| 姜堰市| 贵阳市| 宁安市| 冷水江市| 高阳县| 蓬溪县| 金堂县|