how to call a functino on each second in jquery code example
Example: jquery call function every second
setInterval(function(){
//this code runs every second
}, 1000);
setInterval(function(){
//this code runs every second
}, 1000);