尝试这个
html
<div class='subs'>
wine<input type='checkbox' class='is-wine' />
red wine<input type='checkbox' class='is-red-wine' />
</div>
<div class='subs'>
wine<input type='checkbox' class='is-wine' />
red wine<input type='checkbox' class='is-red-wine' />
</div>
<div class='subs'>
wine<input type='checkbox' class='is-wine' />
red wine<input type='checkbox' class='is-red-wine' />
</div>
js
$(document).ready(function(){
$('.is-red-wine').on('change', function(){
//alert('this changed');
$(this).parent().find('input.is-wine').attr('checked','status');
$(this).parent().find('input.is-wine').attr('disabled',true);
});
});