jquery获取指定class选中的checkbox值

var monitorLeveId = "";
$(".monitorLeve:checked").each(function (e) {
if (monitorLeveId == "") {
monitorLeveId = this.id;
} else {
monitorLeveId += "," + this.id;
}
});

posted @ 2016-12-07 10:47  飞刀软件  阅读(2582)  评论(0)    收藏  举报