Created
February 17, 2014 16:04
-
-
Save erikfloresq/9053351 to your computer and use it in GitHub Desktop.
Mostrar los numeros como contador que aumenta automaticamte
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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