Created
June 13, 2014 18:31
-
-
Save hocza/efdd305a0ab36f8211ce to your computer and use it in GitHub Desktop.
test
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
$(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