var id_str = $('input[type=checkbox]:checked').map(function(){return this.value}).get().join(',');
js得到所有选中checkbox的值
最新推荐文章于 2023-02-01 09:00:21 发布
var id_str = $('input[type=checkbox]:checked').map(function(){return this.value}).get().join(',');