回答編集履歴
1
.
test
CHANGED
@@ -2,5 +2,10 @@
|
|
2
2
|
```js
|
3
3
|
addButton.parentNode.insertBefore(actionElm, addButton);
|
4
4
|
```
|
5
|
+
や
|
6
|
+
```js
|
7
|
+
addButton.insertAdjacentElement('beforebegin', actionElm);
|
8
|
+
```
|
9
|
+
|
5
10
|
などとするとよいでしょう。
|
6
11
|
|