回答編集履歴
1
chousei
test
CHANGED
@@ -4,7 +4,9 @@
|
|
4
4
|
|
5
5
|
var tds=[...document.querySelectorAll('table tr td:first-child')];
|
6
6
|
|
7
|
+
var idx=tds.map(x=>x.textContent).indexOf("");
|
8
|
+
|
7
|
-
console.log(tds);
|
9
|
+
console.log(idx<0?null:tds[idx]);
|
8
10
|
|
9
11
|
});
|
10
12
|
|