Tags
Asked 2 years ago
9 Jun 2021
Views 236
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