jqueryチェックボックスの複数の選択肢
var export_type = $("input[type='radio']:checked").val();
console.info("export_type=" + export_type);
var id_array = new Array();
$('input[name="checkvalue"]:checked').each(function () {
id_array.push($(this).val());//向数组中添加元素
});
var checkvalue = id_array.join(',');//将数组元素连接起来以构建一个字符串
console.info("checkvalue=" + checkvalue);