javascript call a function every 5 seconds 28 Javascript Call A Function Every 5 Seconds The setTimeout above schedules the next call right at the end of the current one (*).. The nested setTimeout is a more flex… Written By Anonymous Friday, February 7, 2014 Add Comment Edit