+ 3
Countdown
Hi i wanted code for 1 minute countdown to resend sms code ... like thiis "code will resend in : 1:00 ... 00:59 ..."
11 Respuestas
+ 10
everyone beat me to it while i write a code xD
oh wells....
https://code.sololearn.com/WpeC7GwrbQpQ/?ref=app
+ 13
Just kidding, my table is fine ^^
+ 11
:D You won't learn how to do it if you don't try...
But I've got an example code, maybe it can help you:
https://code.sololearn.com/WC0YP8tZm8Wp/?ref=app
+ 10
@Burey Noooooooo! NOOOOOOOO!
(ノಠ益ಠ)ノ彡┻━┻
+ 9
00:58...00:57...00:56...Oh, we're not counting.
setTimeout(function, fire_once_after_milliseconds)
or
var myInterval = setInterval(function, keep_firing_forever_until_myInterval_is_cleared);
// edit: clearInterval(myInterval) stops it from repeating (then set myInterval = null)
Either way you're going to have to manage one of those timers. Used this way, they're not guaranteed to fire on time, but that rarely matters.
+ 7
Yeah... you've got good information from Kirk. You've got an example > do it.
+ 6
@Tashi, lol
+ 2
could you please send rest of the code on your profile with html ?
+ 2
thankkssss
+ 1
I wanted only 1 minute countdown
+ 1
i got stuck .... help :( one minute where should i change?