//判斷checkbox 是否選中
$("#id").is(":checked");//選中,返回true,沒選中,返回false
//設置checkbox為選中狀態(tài)
$("#id").prop("checked",true);
//設置checkbox為不選中狀態(tài)
$("#id").prop("checked",false);
//獲取頁面選中的元素
var arr = [];
$(".label_list input:checked").each(function () {
arr.push($(this).attr('id'))
})