setInterval()
method executes a code snippet with a fixed time interval between the calls, i.e, it executes a trigger callback at a given interval. Here’s how you can use it while dynamically binding queries onto widgets:clearInterval()
function stops executing the trigger callback started with the setInterval method.