Team:TU Delft/test

From 2010.igem.org

(Difference between revisions)
Line 859: Line 859:
$.get("https://2010.igem.org/Special:Statistics", function(data){
$.get("https://2010.igem.org/Special:Statistics", function(data){
   var foundit = $(data).find(".printfooter").prev();
   var foundit = $(data).find(".printfooter").prev();
-
var foundit2 = $(foundit).find("li").html();
+
$(foundit).find("li").each(function(index) {
-
alert(foundit2);
+
    alert(index + ': ' + $(this).text());
 +
});
});  
});  

Revision as of 10:58, 14 October 2010

Loading...