操作数据中的chekcbox

--找到选中的值

function GetLinkId() {
            $(".ckbId").each(function(i) {

                if ($(this).attr("checked")) {
                    alert($(this).val());
                }
            });
  

        }

---全不选

function UnSelected (){

           $(".ck_course").each(function(i) {
               $(this).attr("checked", false);
                // alert(i);
                $(".ck_course").select();
                       });

}

posted @ 2011-04-07 18:32  咸鱼公子  Views(125)  Comments(0Edit  收藏  举报