title: Converting a countdown timer into minutes
body: <p>I have created a simple countdown timer, that counts down the total seconds inputted.</p>
  
  <p><a href="http://jsfiddle.net/tmyie/cf3Hd/" rel="nofollow">http://jsfiddle.net/tmyie/cf3Hd/</a></p>
  
  <p>However, I am unsure how to turn 3 minutes (the number entered) into seconds with a format like <code>1:79</code>, <code>1:78</code>, etc.</p>
  
  <pre><code>$('.click').click(function () {
      var rawAmount = $('input').val();
      var cleanAmount = parseInt(rawAmount);
      var totalAmount = cleanAmount * 60
       $('input').val(" ");
  
      var loop, theFunction = function () {
  
          totalAmount--;
  
          if (totalAmount == 0) {
  
              clearInterval(loop);
          }
          $('p').text(totalAmount);
      };
  
      var loop  = setInterval(theFunction, 1000);
  
  })
  </code></pre>
  
  <p>Any help would be great.</p>