Skip to content

Instantly share code, notes, and snippets.

@erikfloresq
Created February 17, 2014 16:04
Show Gist options
  • Save erikfloresq/9053351 to your computer and use it in GitHub Desktop.
Save erikfloresq/9053351 to your computer and use it in GitHub Desktop.
Mostrar los numeros como contador que aumenta automaticamte
$(document).ready(function(){
var num = 0;
var interval = setInterval(function(){
$('#numbers').text(num);
num++;
if(num === 100){
clearInterval(interval);
};
},10);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment