回答編集履歴
2
JSFiddle のコード修正
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
- [jQuery#on - JSFiddle](https://jsfiddle.net/k6a6763e/)
|
7
|
+
- [jQuery#on - JSFiddle](https://jsfiddle.net/k6a6763e/1/)
|
8
8
|
|
9
9
|
- [.on() | jQuery API Documentation](http://api.jquery.com/on/)
|
10
10
|
|
1
addEventListener コードで while ループ上の target\.id が正しく変更されていなかった不具合を修正
test
CHANGED
@@ -48,6 +48,8 @@
|
|
48
48
|
|
49
49
|
target = target.parentNode;
|
50
50
|
|
51
|
+
id = target.id
|
52
|
+
|
51
53
|
}
|
52
54
|
|
53
55
|
|