は考える:入力の変更を使用して、入力のATTRを変更しますか?
HTML
<input checked="checked" class="list_completed_checkbox" id="list_item_completed" name="list_item[completed]" type="checkbox" value="1">
のjQuery:
$('.list_completed_checkbox').change(function() {
$(this).attr('disabled', 'disabled');
});
あなたがチェックしたり、チェックボックスのチェックを外し、なぜ、入力に印加されているのattr無効になっていないのですか?
ありがとうございました
作品の罰金を私のために(クローム、IE6-9とFirefox 4で):http://jsfiddle.net/Z9uyD/ –