Team:UCLondon/Templates/Navigationv3
From 2012e.igem.org
(Difference between revisions)
Line 347: | Line 347: | ||
$('#yt').html(''); | $('#yt').html(''); | ||
- | var | + | var _pURL = 'http://gdata.youtube.com/feeds/api/playlists/PLtGCURRfxampHgpkl-tUkzSeZhItvY3_u?v=2&alt=json&callback=?'; |
- | $.getJSON( | + | $.getJSON(_pURL,function(plists){ |
- | alert( | + | alert(plists.feed.entry.length); |
}); | }); | ||
} | } |
Revision as of 21:22, 14 October 2012