質問編集履歴
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
```HTML
|
22
22
|
|
23
|
-
<table id="RadioButtonList1" name="radio
|
23
|
+
<table id="RadioButtonList1" name="radiolist1">
|
24
24
|
|
25
25
|
<tbody>
|
26
26
|
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -13,6 +13,46 @@
|
|
13
13
|
<asp:ListItem>選択2</asp:ListItem>
|
14
14
|
|
15
15
|
</asp:RadioButtonList>
|
16
|
+
|
17
|
+
```
|
18
|
+
|
19
|
+
追記(ブラウザ上のHTML)
|
20
|
+
|
21
|
+
```HTML
|
22
|
+
|
23
|
+
<table id="RadioButtonList1" name="radiobutton1">
|
24
|
+
|
25
|
+
<tbody>
|
26
|
+
|
27
|
+
<tr>
|
28
|
+
|
29
|
+
<td>
|
30
|
+
|
31
|
+
<input id="RadioButtonList1_0" type="radio" name="ct100$RadioButtonList1" value="選択1">
|
32
|
+
|
33
|
+
<label for="RadioButtonList1_0">選択1</label>
|
34
|
+
|
35
|
+
</td>
|
36
|
+
|
37
|
+
</tr>
|
38
|
+
|
39
|
+
<tr>
|
40
|
+
|
41
|
+
<td>
|
42
|
+
|
43
|
+
<input id="RadioButtonList1_1" type="radio" name="ct100$RadioButtonList1" value="選択2">
|
44
|
+
|
45
|
+
<label for="RadioButtonList1_1">選択2</label>
|
46
|
+
|
47
|
+
</td>
|
48
|
+
|
49
|
+
</tr>
|
50
|
+
|
51
|
+
</tbody>
|
52
|
+
|
53
|
+
</table>
|
54
|
+
|
55
|
+
|
16
56
|
|
17
57
|
```
|
18
58
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
```HTML
|
8
8
|
|
9
|
-
<asp:RadioButtonList ID="RadioButtonList
|
9
|
+
<asp:RadioButtonList ID="RadioButtonList1" runat="server">
|
10
10
|
|
11
11
|
<asp:ListItem>選択1</asp:ListItem>
|
12
12
|
|
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
var optnum = "";
|
28
28
|
|
29
|
-
if ($("#RadioButtonList
|
29
|
+
if ($("#RadioButtonList1").checked == true) {
|
30
30
|
|
31
31
|
optnum = 1;
|
32
32
|
|