Using jquery animate to change the value of text.
This is a simple Bootstrap skeleton. You can fork it to get a ready to use Bootstrap fiddle.
jQuery 1.8.3, HTML, CSS, JavaScript