打赏

Table获取checkbox选中行数据

//检测勾选值
    function checkEnter() {
        var Ivalue = "";
        $("#dataTable tr").each(function () {
            var chk = $(this).find('td').eq(0).find('#subcheck');
            if (chk.attr("checked") == "checked") {
                var IsEter = $(this).find('td').eq(5).find('input');
                Ivalue = IsEter.val();
            }
        });
        return Ivalue;
    }

 

posted @ 2015-05-15 17:09  Bear.Tirisfal  阅读(2797)  评论(0编辑  收藏  举报