```

var ids = ["Device ID"];
var names = ["Device Name"];
$("td[aria-describedby=grid-table_name]").each(function(){
    names.push($(this).html());
});
$("td[aria-describedby=grid-table_deviceNumber]").each(function(){
    ids.push($(this).html());
});

var output = "";
for (var index = 0; index < ids.length; index++) {
    //output += names[index] + "\t" + ids[index] + "\n";    //original
    output += ids[index] + "\t" + names[index] + "\n";      //post September 2016
}
console.log(output);

```

相关文章:

  • 2021-07-16
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2021-09-27
  • 2021-06-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-03
  • 2021-08-20
  • 2022-12-23
  • 2021-05-05
  • 2021-12-06
  • 2022-12-23
相关资源
相似解决方案