Created
February 8, 2009 19:44
-
-
Save xenda/60475 to your computer and use it in GitHub Desktop.
Brings data at some intervals
This file contains 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
function traer_nueva_data(){ | |
$.getJSON("/data/"), function(request){ | |
//haces algo | |
} | |
} | |
setInterval(traer_nueva_data, 2000); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment