title: Simple jQuery Count Up timer help please
body: <p>Trying to make a simple count up timer in jQuery... this sort of works but is adding the numbers to the end of '0000' and I want it to go <code>'0001' '0002' '0003'</code> etc...</p>
  
  <p>This is all happening in the jQuery <code>onReady</code> scope.</p>
  
  <pre><code>var i = '0000'
  var timer = function doSomething ( )
  {
      i = i+= 1
      $('.counter').text(i);
      console.log(i);
  
  }
  setInterval (timer, 1000 );
  </code></pre>