+ 3
How to...
I want to make a break of 4 sek in my code. How to do this? Hope for answers Stoffel ;)
2 ответов
+ 12
var myVar = setInterval(function(){ yourFunc() }, 4000);
function yourFunc() {
// Code executed after 4 seconds
}
+ 5
If you are satisfied with the answer, Mark it as the best answer