JavaScript Reference/Javascript Properties/lastModified
Версия от 18:30, 25 мая 2010; (обсуждение)
"lastModified" Example
<html>
<body>
<img id="myImage" src="yourimage.gif"><br>
<button onclick="alert(document.lastModified);">Document Modified On</button>
</body>
</html>
"lastModified" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |document |
+----------------+--------------------------------------------------------------+
"lastModified" Syntax and Note
Note:
Read-only property.
Returns the document last-modified date.
Syntax:
document.lastModified