JavaScript Reference/Javascript Properties/fileModifiedDate

Материал из Web эксперт
Перейти к: навигация, поиск

"fileModifiedDate" Example

   <source lang="javascript">
   

<html> <body> <img id="myImage" src="yourimage.gif">
<button onclick="alert(myImage.fileModifiedDate);">Image Modified On</button> </body> </html>


     </source>
   
  


"fileModifiedDate" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |document <img> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"fileModifiedDate" Syntax and Note

   <source lang="javascript">

Note: Read-only property. Returns the file last modified date.

Syntax:

document.all.imgID.fileModifiedDate document.fileModifiedDate


     </source>