一般的
$(this).attr("checked", true);
或者$(this).attr("checked", checked);
都不行时用
$(this).prop("checked",true);
查看是否选择上 $(this).is(':checked');
------------------------------------------------------------------------
1. 里面包含很多单个词的时候
var all = $('直达', '营销广告', '搜索引擎', '邮件营销', '联盟广告', '视频广告', '百度', '谷歌', '必应', '其他');
2. 向第一个 p 元素添加一个类:
$("button").click(function(){
$("p:first").addClass("intro")
;
});