JavaScript DHTML/HTML/Del

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

"dateTime" Example

   <source lang="html4strict">
   

<html> <body> <script language="JavaScript"> function function1() {

   document.all.myDel.dateTime = "2003-04-15T14:50:30Z";
   alert(document.all.myDel.dateTime); 

} </script> This text has been deleted. <input type="button"

      onClick="function1();" 
      value="Display date and time of the above text deletion">

</body> </html>


     </source>