質問編集履歴
2
誤記修正。 各アラートのIDは異なります。
title
CHANGED
File without changes
|
body
CHANGED
@@ -47,19 +47,19 @@
|
|
47
47
|
■html
|
48
48
|
```
|
49
49
|
<DIV id = "AREA_1">
|
50
|
-
<input type ="radio" name ="rb" value="Aアラート1" id="
|
50
|
+
<input type ="radio" name ="rb" value="Aアラート1" id="rbA">Aアラート1<br>
|
51
|
-
<input type ="radio" name ="rb" value="Aアラート2" id="
|
51
|
+
<input type ="radio" name ="rb" value="Aアラート2" id="rbA">Aアラート2<br>
|
52
|
-
<input type ="radio" name ="rb" value="Aアラート3" id="
|
52
|
+
<input type ="radio" name ="rb" value="Aアラート3" id="rbA">Aアラート3<br>
|
53
53
|
</DIV>
|
54
54
|
<DIV id = "AREA_2">
|
55
|
-
<input type ="radio" name ="rb" value="Bアラート1" id="
|
55
|
+
<input type ="radio" name ="rb" value="Bアラート1" id="rbB">Bアラート1<br>
|
56
|
-
<input type ="radio" name ="rb" value="Bアラート2" id="
|
56
|
+
<input type ="radio" name ="rb" value="Bアラート2" id="rbB">Bアラート2<br>
|
57
|
-
<input type ="radio" name ="rb" value="Bアラート3" id="
|
57
|
+
<input type ="radio" name ="rb" value="Bアラート3" id="rbB">Bアラート3<br>
|
58
58
|
</DIV>
|
59
59
|
<DIV id = "AREA_3">
|
60
|
-
<input type ="radio" name ="rb" value="Cアラート1" id="
|
60
|
+
<input type ="radio" name ="rb" value="Cアラート1" id="rbC">Cアラート1<br>
|
61
|
-
<input type ="radio" name ="rb" value="Cアラート2" id="
|
61
|
+
<input type ="radio" name ="rb" value="Cアラート2" id="rbC">Cアラート2<br>
|
62
|
-
<input type ="radio" name ="rb" value="Cアラート3" id="
|
62
|
+
<input type ="radio" name ="rb" value="Cアラート3" id="rbC">Cアラート3<br>
|
63
63
|
</DIV>
|
64
64
|
```
|
65
65
|
### 試したこと
|
1
コードブロックの付与
title
CHANGED
File without changes
|
body
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
### 該当のソースコード
|
34
34
|
|
35
35
|
■javascript (jquery)
|
36
|
-
|
36
|
+
```
|
37
37
|
$(function(){
|
38
38
|
$("input[name='rb']").click(
|
39
39
|
function(){
|
@@ -43,9 +43,9 @@
|
|
43
43
|
$("input[name='rb']").val(["str"]);
|
44
44
|
});
|
45
45
|
});
|
46
|
-
|
46
|
+
```
|
47
47
|
■html
|
48
|
-
|
48
|
+
```
|
49
49
|
<DIV id = "AREA_1">
|
50
50
|
<input type ="radio" name ="rb" value="Aアラート1" id="rb">Aアラート1<br>
|
51
51
|
<input type ="radio" name ="rb" value="Aアラート2" id="rb">Aアラート2<br>
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<input type ="radio" name ="rb" value="Cアラート2" id="rb">Cアラート2<br>
|
62
62
|
<input type ="radio" name ="rb" value="Cアラート3" id="rb">Cアラート3<br>
|
63
63
|
</DIV>
|
64
|
-
|
64
|
+
```
|
65
65
|
### 試したこと
|
66
66
|
|
67
67
|
■試した事、考えた事
|