回答編集履歴
1
調整
test
CHANGED
@@ -4,9 +4,19 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
```
|
7
|
+
```javascript
|
8
8
|
|
9
|
-
<s
|
9
|
+
<script>
|
10
|
+
|
11
|
+
window.addEventListener('DOMContentLoaded', ()=>{
|
12
|
+
|
13
|
+
console.log(document.querySelector('#s1').innerHTML)
|
14
|
+
|
15
|
+
});
|
16
|
+
|
17
|
+
</script>
|
18
|
+
|
19
|
+
<select id="s1">
|
10
20
|
|
11
21
|
<option value="1">1</option>
|
12
22
|
|
@@ -32,4 +42,6 @@
|
|
32
42
|
|
33
43
|
</select>
|
34
44
|
|
45
|
+
|
46
|
+
|
35
47
|
```
|