$("input:checkbox[value='video']").parent().addClass('checked');
$("input:radio[value='video']").attr('checked','true');
$("input:checkbox[value='video']").parent().addClass('checked');
$("input:radio[value='video']").attr('checked','true');
转载于:https://www.cnblogs.com/thiaoqueen/p/7700379.html