checkbox多选框取值

var SelectQuestionAnswer = $("input:checkbox[name='SelectQuestionAnswer']:checked").map(function (index, elem) {
return $(elem).val();
}).get().join(',');

原文地址:https://www.cnblogs.com/zj19940610/p/9204596.html