Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#8 Code example from "JSON: What It Is, How It Works, & How to Use It"
$.ajax(
type:'GET',
url:"http://example.com/users/feeds/",
data:"format=json&id=123",
success:function(feed) {
document.write(feed);
},
dataType:'jsonp'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment