前端使用Jscript 获得选中复选框值并变成,隔开的字符串

var str = $(".ckb:checked").map(function(){return $(this).val()}).get().join(',')this

相关文章
相关标签/搜索