Created
May 7, 2014 11:30
-
-
Save carlqt/544a5af3b2954f2909f1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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(){ | |
$.ajax({ | |
type: 'GET', | |
dataType: 'json', | |
url: 'http://localhost:3000/projects.json', | |
success: function(data, status, xhr) { | |
$.each(data, function(key, val){ | |
console.log(data); | |
}) | |
} | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
occ