Created
June 6, 2014 16:52
-
-
Save macieksk/d2d6305e8582cd9d1cc0 to your computer and use it in GitHub Desktop.
jquery onclick click, data extraction, replace, join, map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('a').filter(function(){ | |
return $(this).text() === 'Display Full Polymer Details'; | |
}) | |
.click() | |
$("span.se_key").filter(function(){ return $(this).text().match(' Gene Name[s]* ');}) | |
.parent().siblings("td.mdauData") | |
.map(function(){return $(this).parents("tbody.query").find("a.qrb_structid").text() | |
+"," | |
+$(this).text().trim().replace(/\s+/g,",");}) | |
.get().join("\n"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment