World population counter or clock in jQuery?

World population counter or clock in jQuery?

Hi All,

I'm looking to add a counter which will start a base (numberic) value then increase at a set rate (i.e. 1 every 3 seconds). Quite similar to the idea of a world population clock or counter.

I've know there are ways of doing it in JS but wondered if anyone as done it in jQuery and hence cutting now the amount of code. Here's a sample in regular JS:

http://javascript.internet.com/math-related/world-population.html

Thanks!
R x