回答編集履歴
1
checked を参照していなかったので修正
test
CHANGED
@@ -114,11 +114,15 @@
|
|
114
114
|
|
115
115
|
if (tr) {
|
116
116
|
|
117
|
-
|
117
|
+
if (tr.querySelector ('td:first-of-type input[type="checkbox"]:checked')) {
|
118
118
|
|
119
|
-
tr.r
|
119
|
+
delRec (tr.rowIndex - 1);
|
120
120
|
|
121
|
+
tr.remove ();
|
122
|
+
|
121
|
-
replaceTable (TB, RECS);
|
123
|
+
replaceTable (TB, RECS);
|
124
|
+
|
125
|
+
}
|
122
126
|
|
123
127
|
}
|
124
128
|
|