//选中 $("#xxx").attr("checked","checked"); //或 $("#xxx").attr("checked","true"); //取消选中 $("#xxx").removeAttr("checked");