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被应用于输入?
谢谢
工作正常,我(在Chrome,IE6-9和Firefox 4):http://jsfiddle.net/Z9uyD/ –