var value = new Array(); for(var i = 0; i < obj.length; i++){ if(obj[i].checked) value.push(obj[i].value); }