var box = document.getElementsByName("queryChannel");
var objArray = box.length;
var channel="";
for(var i=0;i<objArray;i++){
if(box[i].checked == true){
channel += box[i].value+",";
}
}
复选框提交数组节点 object NodeList