Skip to content

Instantly share code, notes, and snippets.

@andreasohlund
Created February 19, 2011 14:10
Show Gist options
  • Select an option

  • Save andreasohlund/835075 to your computer and use it in GitHub Desktop.

Select an option

Save andreasohlund/835075 to your computer and use it in GitHub Desktop.
$.ajax({
url: 'http://ipv4.fiddler:8080/indexes/dynamic/AuctionSummaryItems',
dataType: 'jsonp',
jsonp: 'jsonp',
success: function (data) {
$.each(data.Results, function () {
$("#auctions").append("<p>Description: " + this.Description + ", id: " + this.AuctionId + "</p>");});},
error: function (data) { alert('error'); }
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment