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>