JavaScript Reference/Javascript Properties/fileUpdatedDate

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

"fileUpdatedDate" Example

   <source lang="javascript">
   

<html> <body> <img id="myImage" src="yourimage.gif">
<button onclick="alert(myImage.fileUpdatedDate);">Image Updated on</button> </body> </html>


     </source>
   
  


"fileUpdatedDate" is applied to

   <source lang="javascript">

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

     </source>
   
  


"fileUpdatedDate" Syntax and Note

   <source lang="javascript">

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

Syntax:

document.all.imgID.fileUpdatedDate


     </source>