导航

select拼接

Posted on 2017-03-28 11:37  颍川小哥  阅读(612)  评论(0编辑  收藏  举报


//if (Data1[i].MisFunId == 1)
//{
// if (Data1[i].Flag == true)
// {
// var t = Data1[i].MisFunId;
// str += "<option class='dropdown' value='1'>" + '否' + "</option>";
// str += "<option class='dropdown' value='1' selected='selected'>" + '是' + "</option>";
// }
// else
// {
// str += "<option class='dropdown' value='1' selected='selected'>" + '否' + "</option>";
// str += "<option class='dropdown' value='1'>" + '是' + "</option>";
// }
//}
//else if (Data1[i].MisFunId == 2)
//{
// if (Data1[i].Flag == true) {
// var t = Data1[i].MisFunId;
// str += "<option class='dropdown' value='2'>" + '否' + "</option>";
// str += "<option class='dropdown' value='2' selected='selected'>" + '是' + "</option>";
// }
// else {
// str += "<option class='dropdown' value='2' selected='selected'>" + '否' + "</option>";
// str += "<option class='dropdown' value='2'>" + '是' + "</option>";
// }
//}
//else if (Data1[i].MisFunId == 3)
//{
// if (Data1[i].Flag == true) {
// var t = Data1[i].MisFunId;
// str += "<option class='dropdown' value='3'>" + '否' + "</option>";
// str += "<option class='dropdown' value='3' selected='selected'>" + '是' + "</option>";
// }
// else {
// str += "<option class='dropdown' value='3' selected='selected'>" + '否' + "</option>";
// str += "<option class='dropdown' value='3'>" + '是' + "</option>";
// }
//}
//else if (Data1[i].MisFunId == 4)
//{
// if (Data1[i].Flag == true) {
// var t = Data1[i].MisFunId;
// str += "<option class='dropdown' value='4'>" + '否' + "</option>";
// str += "<option class='dropdown' value='4' selected='selected'>" + '是' + "</option>";
// }
// else {
// str += "<option class='dropdown' value='4' selected='selected'>" + '否' + "</option>";
// str += "<option class='dropdown' value='4'>" + '是' + "</option>";
// }
//}