📅  最后修改于: 2022-03-11 15:02:28.302000             🧑  作者: Mango
$('input[type=checkbox]').each(function () {
sList += "(" + $(this).val() + "-" + (this.checked ? "checked" : "not checked") + ")";
});