SyntaxFix
Write A Post
Hire A Developer
Questions
Use:
setTimeout(startTimer,startInterval);
You're calling startTimer() and feed it's result (which is undefined) as an argument to setTimeout().