Created
August 26, 2010 16:02
-
-
Save mikeyk/551677 to your computer and use it in GitHub Desktop.
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
// first use the jQuerify plugin here: http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet | |
$jq("tbody tr", $("#fs-0")).each(function(index, el){ | |
var nameTD = $jq("td.name", el); | |
var nameSpan = $jq("span", nameTD); | |
var name = nameSpan.attr("title") ? nameSpan.attr("title") : nameSpan.text(); | |
var deviceID = $jq("td.id", el).attr("title"); | |
console.log(name + '\t' + deviceID); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment