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