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();
-
alert(foundit.html());
+
$(foundit).find("li").each(function() {
-
$(foundit).find("li").each(function(index) {
+
     if($(this).text().substr(0,14) == " Team:TU Delft") {  
     if($(this).text().substr(0,14) == " Team:TU Delft") {  
alert ($(this).text().substr(15));  
alert ($(this).text().substr(15));  

Revision as of 11:15, 14 October 2010

Loading...