Skip to content

Instantly share code, notes, and snippets.

@hankyates
Created July 29, 2014 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hankyates/4fb251420768df7f0fb4 to your computer and use it in GitHub Desktop.
Save hankyates/4fb251420768df7f0fb4 to your computer and use it in GitHub Desktop.
class ajax gist
$.getJSON('http://rs.hankyates.com:3000/content', function(data) {
data.forEach(function (tab, index){
console.log(tab);
$('body').append('<div>' + tab.name + '</div>');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment