回答編集履歴
1
調整
test
CHANGED
@@ -6,9 +6,9 @@
|
|
6
6
|
|
7
7
|
window.addEventListener('DOMContentLoaded', function(e){
|
8
8
|
|
9
|
-
if(
|
9
|
+
if(document.querySelector('#hoge #a')){console.log("a!");}
|
10
10
|
|
11
|
-
if(
|
11
|
+
if(document.querySelector('#hoge #b')){console.log("b!");}
|
12
12
|
|
13
13
|
});
|
14
14
|
|