An electronic meter will be implemented in this example with JavaScript. It is dynamic. The trick is the constructor of the time object and the call to the setTimeout, Cleartimeout method. The following is a list of programs that implement dynamic display of electronic meter, you can copy it to Notepad, save you * .html. In such a long program, the most critical thing is setTimeout ("Time ()", 1000), which calls a TIME function every 1 second (equal to 1000 milliseconds), the Time function controls the text. Browse this hypertext, will Will see every other second, the content in the time frame changes, just like an electronic watch.