您的位置:首页 > 其它

Table获取checkbox选中行数据

2015-05-15 17:09 260 查看
//检测勾选值
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;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: