What is the setInterval method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the setInterval method?
Rating:
The setInterval method belongs to the window object. This method is used when a user wants to execute a function or an expression with a fixed time delay.
The syntax of using the setInterval method is as follows:
In the first parameter of this method, a functionname or an expression should be given. In the second parameter, the time should be given. The time should be converted to milliseconds. The third parameter is used to specify the scripting language related to the functionname invoked in the first parameter.
Rating:
Was this information helpful?
Other articles
- What is signed script policy?
- How are cookie files stored in different browsers?
- What is the italics method?
- What is repetition?
- What is the status property?