Can someone quickly and simply explain to me how to perform an action every couple of seconds using
var timeOut = setTimeout(FunctionName, 5000);
var myFunction = function() { //Do stuff AnotherFunction(); }; var timeOut = setInterval(myFunction, 2000);