Team:TU Delft/test
From 2010.igem.org
(Difference between revisions)
Line 855: | Line 855: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <script> | ||
+ | |||
+ | testhtml = '<div id='test'>asdf</div><div id='test2'>qwer</div><span class="mw-headline">Most viewed pages</span></h2> | ||
+ | <ul><li> <a href="/Main_Page" title="Main Page">Main Page</a> (168,098) | ||
+ | </li><li> <a href="/About" title="About">About</a> (16,058) | ||
+ | </li><li> <a href="/Team:TU_Delft" title="Team:TU Delft">Team:TU Delft</a> (13,454) | ||
+ | </li><li> <a href="/Previous_iGEM_Competitions" title="Previous iGEM Competitions">Previous iGEM Competitions</a> (11,109) | ||
+ | </li><li> <a href="/Team:Stockholm" title="Team:Stockholm">Team:Stockholm</a> (8,354) | ||
+ | </li><li> <a href="/Calendar_of_Events" title="Calendar of Events">Calendar of Events</a> (8,010) | ||
+ | </li><li> <a href="/Jamboree" title="Jamboree">Jamboree</a> (7,461) | ||
+ | </li><li> <a href="/Team:Cambridge" title="Team:Cambridge">Team:Cambridge</a> (7,319) | ||
+ | </li><li> <a href="/Team:Tsinghua" title="Team:Tsinghua">Team:Tsinghua</a> (6,987) | ||
+ | </li><li> <a href="/Team:Groningen" title="Team:Groningen">Team:Groningen</a> (6,811) | ||
+ | </li></ul>'; | ||
+ | |||
+ | var foundit = $(testhtml).('*:contains("Team:TU_Delft")'); | ||
+ | |||
+ | alert(foundit); | ||
+ | |||
+ | </script> | ||
</html> | </html> |