<input type="checkbox" id="dw"/>
<select id="oo">
<option>a</option>
<option>b</option>
<option>c</option>
</select>
$('#dw').change(function() {
if ($(this).is(':checked')) {
$('#oo').removeAttr('disabled');
} else {
$('#oo').attr('disabled', true);
}
}
I don’t see where the error would be.
Working demo http://jsfiddle.net/2gbHQ/5/
Good Read http://api.jquery.com/prop/
Jquery code
HTML