Team:UCLondon/Templates/Navigationv3
From 2012e.igem.org
(Difference between revisions)
Line 352: | Line 352: | ||
$.getJSON(playListURL, function(data) { | $.getJSON(playListURL, function(data) { | ||
var list_data=""; | var list_data=""; | ||
+ | alert(data); | ||
$.each(data.feed.entry, function(i, item) { | $.each(data.feed.entry, function(i, item) { | ||
- | + | ||
var feedTitle = item.title.$t; | var feedTitle = item.title.$t; | ||
var feedURL = item.link[1].href; | var feedURL = item.link[1].href; | ||
Line 365: | Line 366: | ||
}); | }); | ||
- | + | ||
$(list_data).appendTo("#yt"); | $(list_data).appendTo("#yt"); | ||
}); | }); |
Revision as of 20:51, 14 October 2012