html+='<tr>';
html+='<td>申请类型</td>';
html+='<td>';
var s = data['msg'][i]['type'];
type = s.split(",");
type.forEach(function (value) {
if(value == 1){
html+='A课程 ';
}else if(value == 2){
html+='B课程 ';
}else if(value == 3){
html+='C课程 ';
}else{
html+='';
}
});
html+='</td>';
//html+='<td class="type">'+data['msg'][i]['type']+'</td>';
html+='</tr>'; 最佳答案