var SelectQuestionAnswer = $("input:checkbox[name=‘SelectQuestionAnswer‘]:checked").map(function (index, elem) {
return $(elem).val();
}).get().join(‘,‘);
原文:https://www.cnblogs.com/zj19940610/p/9204596.html