Can someone quickly and simply explain to me how to perform an action every couple of seconds using
var timeOut = setTimeout(FunctionName, 5000);
In the example below, when a button is clicked, the input field will start to count (for ever), starting at 0.