Archive | Javascript

RSS feed for this section
Javascript countdown reset after some time interval

Javascript countdown reset after some time interval

This is a simple countdown timer starting at 30 seconds from when the function is run and ending at 0. After reaching 0 it automatically reset the counter. It goes again to 30 second and this process is continued in a loop <script> window.onload = function() { startCountDown(30, 1000, myFunction); } function startCountDown(i, p, f) […]

Read full story Comments { 0 }