質問編集履歴
5
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -13,14 +13,14 @@
|
|
13
13
|
</div>
|
14
14
|
|
15
15
|
<!--div class="radio-box"のinput にcheckがあるか無いかで表示を切り変えたい要素。-->
|
16
|
-
<div id="box_out" class="box_out" style="display:none">
|
16
|
+
<div id="box_out" class="box_out_a" style="display:none">
|
17
17
|
<select >
|
18
18
|
<option value="out_1">2023年1月13日</option>
|
19
19
|
<option value="out_2">2023年1月24日</option>
|
20
20
|
<option value="out_3">2023年2月3日</option>
|
21
21
|
</select>
|
22
22
|
</div>
|
23
|
-
<div id="box_in" class="box_in" style="display:none">
|
23
|
+
<div id="box_in" class="box_in_a" style="display:none">
|
24
24
|
<select>
|
25
25
|
<option value="in_1">2023年1月15日</option>
|
26
26
|
<option value="in_2">2023年1月26日</option>
|
4
テキスト修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
javascript
|
1
|
+
javascript <input type=radio>にcheckがあるか無いかで、別要素を表示、非表示で切り替えたい
|
test
CHANGED
File without changes
|
3
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -31,10 +31,10 @@
|
|
31
31
|
|
32
32
|
```javascript
|
33
33
|
if(getElementById('#outbound').checked == true){
|
34
|
-
let elem = document.getElementById("box_out");
|
34
|
+
let elem = document.getElementById("#box_out");
|
35
35
|
elem.style.display = "block";
|
36
36
|
}else {
|
37
|
-
let elem = document.getElementById("box_in");
|
37
|
+
let elem = document.getElementById("#box_in");
|
38
38
|
elem.style.display = "block";
|
39
39
|
}
|
40
40
|
```
|
2
テキスト修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
```
|
31
31
|
|
32
32
|
```javascript
|
33
|
-
if(getElementById('#outbound').checked){
|
33
|
+
if(getElementById('#outbound').checked == true){
|
34
34
|
let elem = document.getElementById("box_out");
|
35
35
|
elem.style.display = "block";
|
36
36
|
}else {
|
1
テキスト修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
javascript checkboxにcheckがあるか無いかで別要素を表示、非表示で切り替えたい
|
1
|
+
javascript checkboxにcheckがあるか無いかで、別要素を表示、非表示で切り替えたい
|
test
CHANGED
File without changes
|