标签:checkbox
var months="";
var month=doncument.getElementsByName("month");
for(var i=0,i<month.length,i++){
if(month[i].checked==true){
if(i<(month.length-1)){
var months+=month[i].value+‘i‘;
}else{
var months+=month[i].value;
}
}
}
标签:checkbox
原文地址:http://11530813.blog.51cto.com/11520813/1768709