Timer Events Demo 2 : Timer : Development : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP
JavaScript DHTML Home »  Development   » [  Timer  ]   
 



Timer Events Demo 2


/*
JavaScript Unleashed, Third Edition
by Richard Wagner and R. Allen Wyke 

ISBN: 067231763X
Publisher Sams CopyRight 2000

*/
<head>
<script language="JavaScript">
<!--
     function performProcess() {
        alert('Good morning sunshine!
');
     }
   
     function dailyTask() {
        var tdy = new Date();
        if ((tdy.getHours() == 8&& (tdy.getMinutes() == 30)) {
           performProcess()}
           timerID = setTimeout("dailyTask()",10000)
        }
//-->
</script></head>
   
<body onLoad="dailyTask()">
</body>



           
       
Related examples in the same category
1.  Count down timer
2.  Using a Timer
3.  setInterval() and clearInterval() methods
4.  A Countdown Timer
5.  Timer Events Demo
6.   Accessing Document Contents
7.  A Timeout Processing Example
8.  Using the const Keyword
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.