Skip to content

Instantly share code, notes, and snippets.

@hocza
Created June 13, 2014 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hocza/efdd305a0ab36f8211ce to your computer and use it in GitHub Desktop.
Save hocza/efdd305a0ab36f8211ce to your computer and use it in GitHub Desktop.
test
$(document).ready(function(){
setInterval(countdomains(), 1000);
function countdomains(){
$(".letters").each(function(){
cb = $(this);
$.getJSON("/api/domain/countByLetter?letter="+$(this).data('letter'), null, function(data){
cb.text(data);
});
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment