JavaScript DHTML/Development/File Date — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 07:19, 26 мая 2010
"fileCreatedDate" Example
<html>
<body>
<img id="myImage" src="http://www.wbex.ru/style/logo.png"><br>
<button onclick="alert(document.fileCreatedDate);">Document Created On</button>
<button onclick="alert(myImage.fileModifiedDate);">Image Modified On</button>
<button onclick="alert(myImage.fileSize);">Image Size</button>
<button onclick="alert(myImage.fileUpdatedDate);">Image Updated on</button>
<button onclick="alert(document.lastModified);">Document Modified On</button>
</body>
</html>
"fileModifiedDate" Example
<html>
<body>
<img id="myImage" src="http://www.wbex.ru/style/logo.png"><br>
<button onclick="alert(document.fileCreatedDate);">Document Created On</button>
<button onclick="alert(myImage.fileModifiedDate);">Image Modified On</button>
<button onclick="alert(myImage.fileSize);">Image Size</button>
<button onclick="alert(myImage.fileUpdatedDate);">Image Updated on</button>
<button onclick="alert(document.lastModified);">Document Modified On</button>
</body>
</html>
"fileUpdatedDate" Example
<html>
<body>
<img id="myImage" src="http://www.wbex.ru/style/logo.png"><br>
<button onclick="alert(document.fileCreatedDate);">Document Created On</button>
<button onclick="alert(myImage.fileModifiedDate);">Image Modified On</button>
<button onclick="alert(myImage.fileSize);">Image Size</button>
<button onclick="alert(myImage.fileUpdatedDate);">Image Updated on</button>
<button onclick="alert(document.lastModified);">Document Modified On</button>
</body>
</html>