Created
July 29, 2014 03:07
-
-
Save hankyates/4fb251420768df7f0fb4 to your computer and use it in GitHub Desktop.
class ajax gist
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
$.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