Skip to content

Instantly share code, notes, and snippets.

@kcarriedo
Created March 17, 2012 20:09
Show Gist options
  • Select an option

  • Save kcarriedo/2064864 to your computer and use it in GitHub Desktop.

Select an option

Save kcarriedo/2064864 to your computer and use it in GitHub Desktop.
$.ajax(url2, {
type:"GET",
crossDomain:true,
dataType: "jsonp",
jsonp:"testCallback",
data:'json',
success:function(data, text, xhqr) {
$.each(data, function(i, item) {
alert(item);
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment