回答編集履歴
1
ソースコード追加
test
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
```html
|
2
|
+
<ul>
|
3
|
+
<li><label for="age"><input type="radio" name="age" value="0">30代</label></li>
|
4
|
+
<li><label for="age"><input type="radio" name="age" value="0">40代</label></li>
|
5
|
+
<li><label for="age"><input type="radio" name="age" value="0">50代</label></li>
|
6
|
+
<li><label for="age"><input type="radio" name="age" value="0">60代</label></li>
|
7
|
+
<li><label for="age"><input type="radio" name="age" value="0">70代</label></li>
|
8
|
+
</ul>
|
9
|
+
<!-- ボタンは初期でdisabledに設定 -->
|
10
|
+
<input type="button" value="次へ" class="next" id="nextBtn" disabled>
|
11
|
+
```
|
12
|
+
|
1
13
|
```javascript
|
2
14
|
$('input[name=age]').change(function() {
|
3
15
|
|