title: Count animation from number A to B
body: <p>I am updating a <code>numeric value</code> inside an <code>element</code> by doing intervalled <code>ajax requests</code>.</p>
  
  <p>To make the whole thing a bit more alive, I want to count from the <code>current</code> value to the <code>new</code> one, by partially <em>in- or decreasing</em> the <code>value</code> over a time of <code>n sec</code>.</p>
  
  <p>So basically something like this:</p>
  
  <pre><code>&lt;div id="value"&gt;100&lt;/div&gt;
  &lt;script type="text/javascript"&gt;
      /** Decrease $value (over a time of 2 seconds) till it reaches 25 */
      $value.increaseAnimation(-75, {duration:2});
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>Is there a javascript library for doing so?</strong></p>