Settimeout
Make JavaScript using the functions setTimeout
Selasa, 7 Juni 2011
It is very easy to time events in JavaScript by using the functions setTimeout() and clearTimeout(), where a section of code may be executed after a period of time has elapsed. The JavaScript function "setTimeout()" has two arguments: a string containing a JavaScript statement, which can be either a JavaScript command or a call to a function, and an integer value, which is used to set the time period in milliseconds. The function returns an integer "id."
Instructions :
1. Ope...