From 2010.igem.org
(Difference between revisions)
|
|
Line 859: |
Line 859: |
| alert('test'); | | alert('test'); |
| | | |
- | var testhtml = '<span class="mw-headline">Most viewed pages</span></h2> | + | var testhtml = '<span class="mw-headline">Most viewed pages</span>'; |
- | <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).find("span"); |
| | | |
| + | alert(foundit); |
| | | |
| </script> | | </script> |
| </html> | | </html> |
Revision as of 10:39, 14 October 2010