对于上面的check,我怎样给它赋值
if( $("#id").attr("checked")==true) 获取 $("#id").attr("checked",'true'); 设置
同意楼上的方法,可以参考下。