回答編集履歴
4
リンク間違い
answer
CHANGED
@@ -13,5 +13,5 @@
|
|
13
13
|
whole_hoge.appendChild(clone_hoge1);
|
14
14
|
```
|
15
15
|
|
16
|
-
[実際に動くサンプル](
|
16
|
+
[実際に動くサンプル](https://jsfiddle.net/qwrs9gLy/)
|
17
17
|
[ボタンで追加するようにしたやつ](https://jsfiddle.net/9pf8xtnL/2/)
|
3
リンク間違い
answer
CHANGED
@@ -14,4 +14,4 @@
|
|
14
14
|
```
|
15
15
|
|
16
16
|
[実際に動くサンプル]([https://jsfiddle.net/qwrs9gLy/)
|
17
|
-
[ボタンで追加するようにしたやつ](https://jsfiddle.net/
|
17
|
+
[ボタンで追加するようにしたやつ](https://jsfiddle.net/9pf8xtnL/2/)
|
2
ボタンでサンプル追加
answer
CHANGED
@@ -13,4 +13,5 @@
|
|
13
13
|
whole_hoge.appendChild(clone_hoge1);
|
14
14
|
```
|
15
15
|
|
16
|
-
[実際に動くサンプル](https://jsfiddle.net/qwrs9gLy/)
|
16
|
+
[実際に動くサンプル]([https://jsfiddle.net/qwrs9gLy/)
|
17
|
+
[ボタンで追加するようにしたやつ](https://jsfiddle.net/qwrs9gLy/2/)
|
1
サンプル追加
answer
CHANGED
@@ -11,4 +11,6 @@
|
|
11
11
|
var clone_hoge1 = hoge1.cloneNode(true);
|
12
12
|
clone_hoge1.firstElementChild.innerText = "hoge3"; // ★ここ!
|
13
13
|
whole_hoge.appendChild(clone_hoge1);
|
14
|
-
```
|
14
|
+
```
|
15
|
+
|
16
|
+
[実際に動くサンプル](https://jsfiddle.net/qwrs9gLy/)
|