Team:TU Delft/test

From 2010.igem.org

(Difference between revisions)
Line 855: Line 855:
</div>
</div>
</div>
</div>
-
<script>
 
-
 
-
 
-
//$.get("https://2010.igem.org/Special:Statistics", function(data){
 
-
//  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) {
 
-
var scan2 = $(value).text().substr(0,14);
 
-
if(scan2 == "Team:TU Delft ") {
 
-
var scan3 = $(value).text().substr(16);
 
-
alert(scan3.substring(0, scan3.length - 7));
 
-
}
 
-
});
 
-
 
-
});
 
-
 
-
//var foundit = $(testhtml).("div:contains('Team:TU_Delft')").html();
 
-
 
-
//alert(testhtml);
 
-
 
-
</script>
 
</html>
</html>

Revision as of 14:02, 14 October 2010

Loading...