0

How to stop login countdown timer in webpage

how to stop login countdown timer in webpage timer kill with JavaScript

15th Apr 2020, 1:38 PM
Pagilla vinay
Pagilla vinay - avatar
2 odpowiedzi
+ 3
Timers set with setTimeout or setInterval could be canceled with respectively clearTimeout and clearInterval. Both methods expect the timer identifier returned by the timer creator as argument: var count = 5; var interval_id = setInterval(function() { console.log(--count); if (count==0) clearInterval(interval_id); },1000);
16th Apr 2020, 12:17 AM
visph
visph - avatar
- 1
please send JavaScript writer WhatsApp number
16th Apr 2020, 3:11 AM
Pagilla vinay
Pagilla vinay - avatar