bootstrap radio $('.input').prop('checked',true); bootstrap 中 这个不管用 $('.input').attr('checked',true);