标签:io sp div on cti bs type tt jquery
遍历:
$(‘#queryUser2 input[type="checkbox"]:checked‘).each(
function () {
a = a + $(this).val() + ",";
}
);
实现全选的功能:
$(‘#chkGiftGeneral‘).click(function () { $(‘#divGiftGeneral input[type="checkbox"]‘).attr("checked", this.checked); });
标签:io sp div on cti bs type tt jquery
原文地址:http://www.cnblogs.com/kennyliu/p/4022159.html