标签:
var chk_val = new Array(); var bed_obj = $("input[name=‘SupportingFacilities‘]"); for(var i in bed_obj){ if(bed_obj[i].checked){ chk_val.push(bed_obj[i].value); } }
js获取多个选中checkbox的值
原文地址:http://www.cnblogs.com/zhanyou/p/4941725.html