回答編集履歴
1
修正
answer
CHANGED
@@ -2,10 +2,11 @@
|
|
2
2
|
|
3
3
|
```javascript
|
4
4
|
$(function(){
|
5
|
-
$('input[name=chk_color').on('change',function(){
|
5
|
+
$('input[name=chk_color]').on('change',function(){
|
6
6
|
$('.ringo').toggle($('#red:checked,#green:checked,#yellow:checked').length>0);
|
7
7
|
$('.mikan').toggle($('#red:checked,#yellow:checked').length>0);
|
8
8
|
$('.budo').toggle($('#green:checked').length>0);
|
9
9
|
}).eq(0).trigger('change');
|
10
10
|
});
|
11
|
-
```
|
11
|
+
```
|
12
|
+
※typo修正
|