Skip to content

Instantly share code, notes, and snippets.

@adam8810
Created September 12, 2012 15:11
Show Gist options
  • Save adam8810/3707269 to your computer and use it in GitHub Desktop.
Save adam8810/3707269 to your computer and use it in GitHub Desktop.
url = '/api/movie.json/' + $id;
$.ajax({
url: url,
success: function(data)
{
$(data.cast).each(function($index)
{
// pseudocode in php
echo "this is the title" . data.name;
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment