Tags
Asked 3 years ago
9 Jun 2021
Views 271
dilip

dilip posted

setTimeout() not executing as per requested

i want to use setTimeout to create recursion , which will run every 5 seconds


setTimeout(recursivefunction,5000);

but above code only run one time
i need it to run every five second from page loaded to page closed .
Post Answer