Skip to content

Instantly share code, notes, and snippets.

@atnan
Created November 12, 2009 06:39
Show Gist options
  • Save atnan/232663 to your computer and use it in GitHub Desktop.
Save atnan/232663 to your computer and use it in GitHub Desktop.
$$("form#removeDevice tbody tr").each(function(row) {
var nameSpan = $(row).select("td.name span")[0];
var name = (nameSpan["title"] != "") ? nameSpan["title"] : nameSpan.innerHTML;
var udid = $(row).select("td.id")[0]["title"];
console.log(udid + "," + name);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment