Team:TU Delft/test
From 2010.igem.org
(Difference between revisions)
Line 857: | Line 857: | ||
<script> | <script> | ||
- | $.get("https://2010.igem.org/Special:Statistics", function(data){ | + | |
- | + | //$.get("https://2010.igem.org/Special:Statistics", function(data){ | |
- | $(foundit).find("li").each(function(index, value) { | + | // var foundit = $(data).find(".printfooter").prev(); |
+ | //$(foundit).find("li").each(function(index, value) { | ||
+ | //alert($(value).text()); | ||
+ | // if($(this).text().substr(0,14) == " Team:TU Delft") { | ||
+ | //alert ($(this).text().substr(15)); | ||
+ | //} | ||
+ | //}); | ||
+ | //}); | ||
+ | |||
+ | $.get("https://2010.igem.org/wiki/index.php?title=Special:PopularPages&limit=20&offset=0", function(data) { | ||
+ | |||
+ | var scan1 = $(data).find(".mw-spcontent" ); | ||
+ | |||
+ | $(scan1).find("li").each(function(index, value) { | ||
alert($(value).text()); | alert($(value).text()); | ||
- | |||
- | |||
- | |||
}); | }); | ||
- | }); | + | |
+ | }); | ||
//var foundit = $(testhtml).("div:contains('Team:TU_Delft')").html(); | //var foundit = $(testhtml).("div:contains('Team:TU_Delft')").html(); |