質問編集履歴

2

修正

2019/08/06 02:52

投稿

WGAC
WGAC

スコア13

test CHANGED
File without changes
test CHANGED
@@ -93,30 +93,6 @@
93
93
  table {
94
94
 
95
95
  background-color: #FFFFFF
96
-
97
- }
98
-
99
-
100
-
101
- function connecttext(textid, ischecked) {
102
-
103
- if(ischecked==true) {
104
-
105
- // チェックが入っていたら有効化
106
-
107
- document.getElementById(textid).disabled=false;
108
-
109
- }
110
-
111
-
112
-
113
- else {
114
-
115
- // チェックが入っていなかったら無効化
116
-
117
- document.getElementById(textid).disabled=true;
118
-
119
- }
120
96
 
121
97
  }
122
98
 

1

修正

2019/08/06 02:51

投稿

WGAC
WGAC

スコア13

test CHANGED
File without changes
test CHANGED
@@ -156,7 +156,7 @@
156
156
 
157
157
  window.onload = function() {
158
158
 
159
- document.getElementById("ショートカット率(単段or低段)その他").disabled = true;
159
+ document.getElementById("その他%").disabled = true;
160
160
 
161
161
  }
162
162
 
@@ -176,13 +176,13 @@
176
176
 
177
177
  <tr>
178
178
 
179
- <td align="left" valign="top" colspan="3"><input type="radio" name="ショートカット率(単段or低段)" class="radio" value="5%"><label>5%</label></td>
180
-
181
- <td align="left" valign="top"><input type="radio" name="ショートカット率(単段or低段)" class="radio" value="7%"><label>7%</label></td>
182
-
183
- <td align="left" valign="top"><input type="radio" name="ショートカット率(単段or低段)" class="radio" value="11%"><label>11%</label></td>
184
-
185
- <td align="left" valign="top" colspan="2"><input type="radio" name="ショートカット率(単段or低段)" class="radio" onclick="connecttext('ショートカット率(単段or低段)その他',this.checked);"><label>その他(<input type="text" name="othertext" id="ショートカット率(単段or低段)その他"
179
+ <td align="left" valign="top" colspan="3"><input type="radio" name="%" class="radio" value="5%"><label>5%</label></td>
180
+
181
+ <td align="left" valign="top"><input type="radio" name="%" class="radio" value="7%"><label>7%</label></td>
182
+
183
+ <td align="left" valign="top"><input type="radio" name="%" class="radio" value="11%"><label>11%</label></td>
184
+
185
+ <td align="left" valign="top" colspan="2"><input type="radio" name="%" class="radio" onclick="connecttext('その他%',this.checked);"><label>その他(<input type="text" name="othertext" id="その他%"
186
186
 
187
187
  value="">%)</label></td>
188
188